fix throw exception log describe

This commit is contained in:
mai.jh 2020-04-01 17:45:59 +08:00
parent e9d7310b58
commit 237edb07b5

View File

@ -492,7 +492,7 @@ public class NamingProxy {
NAMING_LOGGER.error("request: {} failed, servers: {}, code: {}, msg: {}",
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());
}