You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2022/03/30 01:57:33 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on a change in pull request #2757: [SCB-2433] Edge service exception handle do not sent unexpected message

liubao68 commented on a change in pull request #2757:
URL: https://github.com/apache/servicecomb-java-chassis/pull/2757#discussion_r838047701



##########
File path: transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/VertxRestDispatcher.java
##########
@@ -84,7 +84,7 @@ public void init(Router router) {
   }
 
   protected void failureHandler(RoutingContext context) {
-    LOGGER.error("http server failed.", context.failure());
+    LOGGER.error("http server failed.", context.failure() == null ? null : context.failure().getCause());

Review comment:
       Logger is fine. See line 154, do not send the internal message to client. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org