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:05 UTC

[incubator-servicecomb-java-chassis] 02/03: [SCB-214] AbstractServiceRegistry findServiceInstance do not process null return value, not print too much exception

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 29d6d3bb169d96f3c7a0784c542586faf03da002
Author: laijianbin <la...@huawei.com>
AuthorDate: Wed Jan 10 11:30:32 2018 +0800

    [SCB-214] AbstractServiceRegistry findServiceInstance do not process null return value,not print too much exception
---
 .../serviceregistry/client/http/ServiceRegistryClientImpl.java           | 1 +
 1 file changed, 1 insertion(+)

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 f1ee698..45b32ac 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
@@ -178,6 +178,7 @@ public final class ServiceRegistryClientImpl implements ServiceRegistryClient {
                   break;
                 default:
                   LOGGER.error(bodyBuffer.toString());
+                  break;
               }
             } catch (Exception e) {
               LOGGER.warn(bodyBuffer.toString(), e);

-- 
To stop receiving notification emails like this one, please contact
"commits@servicecomb.apache.org" <co...@servicecomb.apache.org>.