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

morningman 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 4b23bca  [Refactor] catch throwable instead of exception (#5942)
4b23bca is described below

commit 4b23bca2bea9ae865bf034f1b83e3ed649df8f48
Author: ikaruga <[email protected]>
AuthorDate: Sun Jun 6 22:06:02 2021 +0800

    [Refactor] catch throwable instead of exception (#5942)
    
    Co-authored-by: 孙忠健(20113660) <[email protected]>
---
 fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java 
b/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java
index a0c42de..e0cd3ab 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java
@@ -78,7 +78,7 @@ public class AcceptListener implements 
ChannelListener<AcceptingChannel<StreamCo
                     // do not need to print log for this kind of exception.
                     // just clean up the context;
                     context.cleanup();
-                } catch (Exception e) {
+                } catch (Throwable e) {
                     // should be unexpected exception, so print warn log
                     if (context.getCurrentUserIdentity() != null) {
                         LOG.warn("connect processor exception because ", e);

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to