From 44f9687cfa0e78bbf67af6e9d636e1d18a7a07fb Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Fri, 27 Jul 2018 14:44:51 -0400 Subject: [PATCH] use remote address --- .../velocitypowered/proxy/connection/MinecraftConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java b/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java index 463fc52fe..7ae89124d 100644 --- a/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java +++ b/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java @@ -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;