From 6ce2eb8d7cdf84b79efb3d1a1de1233bbd16cbf9 Mon Sep 17 00:00:00 2001 From: hujun <510830970@qq.com> Date: Fri, 31 Dec 2021 20:53:48 +0800 Subject: [PATCH] Add error information to facilitate troubleshooting --- .../java/com/alibaba/nacos/client/config/impl/ClientWorker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java b/client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java index eb7fa8e07..d71b3cffc 100644 --- a/client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java +++ b/client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java @@ -1028,7 +1028,7 @@ public class ClientWorker implements Closeable { LOGGER.error("[{}] [sub-server-error] dataId={}, group={}, tenant={}, code={}", this.getName(), dataId, group, tenant, response); throw new NacosException(response.getErrorCode(), - "http error, code=" + response.getErrorCode() + ",dataId=" + dataId + ",group=" + group + "http error, code=" + response.getErrorCode() + ",msg=" + response.getMessage() + ",dataId=" + dataId + ",group=" + group + ",tenant=" + tenant); }