You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2018/01/10 08:03:06 UTC
[incubator-servicecomb-java-chassis] 03/03: modify the exception
show
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git
commit c11ca3193c4d40be6d370ed6bfa0c4b478573e44
Author: laijianbin <la...@huawei.com>
AuthorDate: Wed Jan 10 14:19:24 2018 +0800
modify the exception show
---
.../serviceregistry/client/http/ServiceRegistryClientImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/service-registry/src/main/java/io/servicecomb/serviceregistry/client/http/ServiceRegistryClientImpl.java b/service-registry/src/main/java/io/servicecomb/serviceregistry/client/http/ServiceRegistryClientImpl.java
index 45b32ac..9601853 100644
--- a/service-registry/src/main/java/io/servicecomb/serviceregistry/client/http/ServiceRegistryClientImpl.java
+++ b/service-registry/src/main/java/io/servicecomb/serviceregistry/client/http/ServiceRegistryClientImpl.java
@@ -177,11 +177,11 @@ public final class ServiceRegistryClientImpl implements ServiceRegistryClient {
mInstances.setInstancesResponse(JsonUtils.readValue(bodyBuffer.getBytes(), FindInstancesResponse.class));
break;
default:
- LOGGER.error(bodyBuffer.toString());
+ LOGGER.warn(bodyBuffer.toString());
break;
}
} catch (Exception e) {
- LOGGER.warn(bodyBuffer.toString(), e);
+ LOGGER.warn("read value failed and response message is {}", bodyBuffer.toString());
}
countDownLatch.countDown();
});
--
To stop receiving notification emails like this one, please contact
"commits@servicecomb.apache.org" <co...@servicecomb.apache.org>.