mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-22 02:07:26 +07:00
Added remote address of the channel for the ChannelHandlerContext to the exception message in InboundChannelHandler
This commit is contained in:
parent
fc6d8b0039
commit
2216b29325
@ -61,7 +61,7 @@ public class InboundChannelHandler<T> implements ChannelInboundHandler {
|
||||
@Override
|
||||
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
|
||||
if (DEBUG_CALLS) Gdx.app.debug(TAG, "exceptionCaught");
|
||||
Gdx.app.error(TAG, cause.getMessage(), cause);
|
||||
Gdx.app.error(TAG, ctx.channel().remoteAddress() + " " + cause.getMessage(), cause);
|
||||
ctx.close();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user