master
剑器近 2021-07-29 15:04:39 +08:00
parent ff27aa4659
commit 509051196b
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class TCPServerHandler extends ChannelInboundHandlerAdapter {
public void exceptionCaught(ChannelHandlerContext ctx, Throwable e) {
Session session = ctx.channel().attr(Session.KEY).get();
if (e instanceof IOException)
log.warn(">>>>>终端主动断开连接{},{}", e.getMessage(), session);
log.warn(">>>>>终端主动断开连接: {} {}", e.getMessage(), session);
else
log.warn(">>>>>消息处理异常" + session, e);
}