diff --git a/logproxy-client/src/main/java/com/oceanbase/clogproxy/client/LogProxyClient.java b/logproxy-client/src/main/java/com/oceanbase/clogproxy/client/LogProxyClient.java index ce0fa84ebbb3ef0ac0212d115b3ea26dffbdce32..0079cd474641356a64b30ae971c2b675c167062c 100644 --- a/logproxy-client/src/main/java/com/oceanbase/clogproxy/client/LogProxyClient.java +++ b/logproxy-client/src/main/java/com/oceanbase/clogproxy/client/LogProxyClient.java @@ -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"); diff --git a/logproxy-client/src/main/java/com/oceanbase/clogproxy/client/config/ClientConf.java b/logproxy-client/src/main/java/com/oceanbase/clogproxy/client/config/ClientConf.java index 8a3de2041beab53d62f99ada29fa3aa1fbd19295..9597c44419b4533f6f04e244190e384d79c7dfc5 100644 --- a/logproxy-client/src/main/java/com/oceanbase/clogproxy/client/config/ClientConf.java +++ b/logproxy-client/src/main/java/com/oceanbase/clogproxy/client/config/ClientConf.java @@ -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;