fix throw exception log describe
This commit is contained in:
parent
e9d7310b58
commit
237edb07b5
@ -492,7 +492,7 @@ public class NamingProxy {
|
|||||||
NAMING_LOGGER.error("request: {} failed, servers: {}, code: {}, msg: {}",
|
NAMING_LOGGER.error("request: {} failed, servers: {}, code: {}, msg: {}",
|
||||||
api, servers, exception.getErrCode(), exception.getErrMsg());
|
api, servers, exception.getErrCode(), exception.getErrMsg());
|
||||||
|
|
||||||
throw new NacosException(exception.getErrCode(), "failed to req API:/api/" + api + " after all servers(" + servers + ") tried: "
|
throw new NacosException(exception.getErrCode(), "failed to req API:" + api + " after all servers(" + servers + ") tried: "
|
||||||
+ exception.getMessage());
|
+ exception.getMessage());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user