@@ -170,6 +170,7 @@ public class CenterClientHandler extends SimpleChannelInboundHandler<NettyMessag
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
log.info("exceptionCaught", cause);
ctx.close();
+ throw new RuntimeException(cause);
}
/**