You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ya...@apache.org on 2021/09/14 01:59:05 UTC

[incubator-doris] branch master updated: Do not print exception in fe.out (#6626)

This is an automated email from the ASF dual-hosted git repository.

yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 6d94b7b  Do not print exception in fe.out (#6626)
6d94b7b is described below

commit 6d94b7bde29b0d3ba0e22bd8e8f95c8d41c4a208
Author: Lijia Liu <li...@yeah.net>
AuthorDate: Tue Sep 14 09:58:55 2021 +0800

    Do not print exception in fe.out (#6626)
---
 fe/fe-core/src/main/java/org/apache/doris/http/HttpServerHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/http/HttpServerHandler.java b/fe/fe-core/src/main/java/org/apache/doris/http/HttpServerHandler.java
index c7e3ef6..eecbe60 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/http/HttpServerHandler.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/http/HttpServerHandler.java
@@ -93,7 +93,7 @@ public class HttpServerHandler extends ChannelInboundHandlerAdapter {
 
     @Override
     public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
-        cause.printStackTrace();
+        LOG.warn("Handle http from " + ctx.channel().remoteAddress() + " caught exception", cause);
         ctx.close();
     }
     

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org