From 509051196b47f7c4d7f3554dbbc196b90e772353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=91=E5=99=A8=E8=BF=91?= Date: Thu, 29 Jul 2021 15:04:39 +0800 Subject: [PATCH] update --- src/main/java/io/github/yezhihao/netmc/TCPServerHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/yezhihao/netmc/TCPServerHandler.java b/src/main/java/io/github/yezhihao/netmc/TCPServerHandler.java index d4b4ae2..1e53120 100644 --- a/src/main/java/io/github/yezhihao/netmc/TCPServerHandler.java +++ b/src/main/java/io/github/yezhihao/netmc/TCPServerHandler.java @@ -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); }