This commit is contained in:
hengyunabc
2019-09-18 23:47:39 +08:00
parent 3ac0baf7c5
commit a99be92ab0
@@ -155,7 +155,7 @@ public class TunnelSocketFrameHandler extends SimpleChannelInboundHandler<WebSoc
}
} else {
tunnelSocketCtx.channel().writeAndFlush(new CloseWebSocketFrame(2000, "Can not find arthas agent by id: "+ agentId));
logger.error("Can not find arthas agent by id: ", agentId);
logger.error("Can not find arthas agent by id: {}", agentId);
throw new IllegalArgumentException("Can not find arthas agent by id: " + agentId);
}
}