From b0af8087b8a3dc17355166883dd81026ec4a2705 Mon Sep 17 00:00:00 2001 From: KomachiSion Date: Tue, 26 Jul 2022 15:12:01 +0800 Subject: [PATCH] Add exception detail stacks when connect to server failed. --- .../java/com/alibaba/nacos/common/remote/client/RpcClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/alibaba/nacos/common/remote/client/RpcClient.java b/common/src/main/java/com/alibaba/nacos/common/remote/client/RpcClient.java index b2cca1f60..8edb11100 100644 --- a/common/src/main/java/com/alibaba/nacos/common/remote/client/RpcClient.java +++ b/common/src/main/java/com/alibaba/nacos/common/remote/client/RpcClient.java @@ -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); } }