[Refactor] catch throwable instead of exception (#5942)
Co-authored-by: 孙忠健(20113660) <sunzj10@ke.com>
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user