ard-work/src/main/java/com/ard/tianyu/netty/handler/ClientHandler.java
@@ -1,6 +1,6 @@ package com.ard.tianyu.netty.handler; import com.ard.tianyu.model.cache.TyTcpServerCache; import com.ard.tianyu.domain.cache.TyTcpServerCache; import com.ard.tianyu.netty.TyNettyTcpClient; import com.ard.tianyu.netty.command.BaseCmd; import com.ard.tianyu.service.ITyService; @@ -46,7 +46,7 @@ @Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) { log.error("发生异常: ", cause); // 使用日志记录异常 ctx.close(); // ctx.close(); } @Override