未验证 提交 37603aa1 编写于 作者: H He Wang 提交者: GitHub

update version and error log message (#54)

update version and log message
上级 9e4c875c
......@@ -42,7 +42,8 @@ public class LogProxyClient {
Validator.notEmpty(host, "server cannot be null");
Validator.validatePort(port, "port is not valid");
} catch (Exception e) {
throw new IllegalArgumentException("Illegal argument for LogProxyClient");
throw new IllegalArgumentException(
"Illegal argument for LogProxyClient: " + e.getMessage());
}
if (!config.valid()) {
throw new IllegalArgumentException("Illegal argument for LogProxyClient");
......
......@@ -22,7 +22,7 @@ public class ClientConf extends SharedConf implements Serializable {
private static final long serialVersionUID = 1L;
/** Client version. */
public static final String VERSION = "1.0.5";
public static final String VERSION = "1.0.7";
/** Queue size for storing records received from log proxy. */
private final int transferQueueSize;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册