liusuyi
2025-02-19 12f344197d6af5d23594847359801c983cf4612a
ard-work/src/main/java/com/ard/tianyu/netty/handler/ClientHandler.java
@@ -46,7 +46,7 @@
    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
        log.error("发生异常: ", cause); // 使用日志记录异常
        ctx.close();
       // ctx.close();
    }
    @Override