jeho0815 commented on a change in pull request #1006: [SCB-1043] fix bug: if 
safeSetInstances throw an exception, the excep…
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1006#discussion_r236030517
 
 

 ##########
 File path: 
service-registry/src/main/java/org/apache/servicecomb/serviceregistry/consumer/MicroserviceVersions.java
 ##########
 @@ -160,10 +160,10 @@ protected void 
safeSetInstances(List<MicroserviceInstance> pulledInstances, Stri
       setInstances(pulledInstances, rev);
       validated = true;
     } catch (Throwable e) {
-      LOGGER.error("Failed to setInstances, appId={}, microserviceName={}.",
-          getAppId(),
-          getMicroserviceName(),
-          e);
+      LOGGER.error(String.format("Failed to setInstances, AppId=%s, 
MicroserviceName=%s.",
 
 Review comment:
   yes, i will close it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to