Add exception detail stacks when connect to server failed.

This commit is contained in:
KomachiSion 2022-07-26 15:12:01 +08:00
parent 34bbd3844a
commit b0af8087b8

View File

@ -390,7 +390,7 @@ public abstract class RpcClient implements Closeable {
} catch (Throwable e) { } catch (Throwable e) {
LoggerUtils.printIfWarnEnabled(LOGGER, LoggerUtils.printIfWarnEnabled(LOGGER,
"[{}] Fail to connect to server on start up, error message = {}, start up retry times left: {}", "[{}] Fail to connect to server on start up, error message = {}, start up retry times left: {}",
name, e.getMessage(), startUpRetryTimes); name, e.getMessage(), startUpRetryTimes, e);
} }
} }