Add error information to facilitate troubleshooting
This commit is contained in:
parent
320c1b97f4
commit
6ce2eb8d7c
@ -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);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user