Merge pull request #8801 from KomachiSion/develop-client-detail-exception

Add exception detail stacks when connect to server failed.
This commit is contained in:
MajorHe1 2022-07-26 15:54:53 +08:00 committed by GitHub
commit ff336d97b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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