use remote address

This commit is contained in:
Andrew Steinborn
2018-07-27 14:44:51 -04:00
parent 5ef27cfa5f
commit 44f9687cfa

View File

@@ -101,7 +101,7 @@ public class MinecraftConnection extends ChannelInboundHandlerAdapter {
if (association != null) {
logger.error("{}: exception encountered", association, cause);
} else {
logger.error("{} encountered an exception", cause);
logger.error("{} encountered an exception", ctx.channel().remoteAddress(), cause);
}
closed = true;