From 653f1691d7e58e7abf232a4660f9c1445d24a811 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 26 Sep 2023 06:40:02 +1000 Subject: [PATCH] Print full stack trace for packet decoder errors --- proxy/src/main/java/net/md_5/bungee/netty/HandlerBoss.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/netty/HandlerBoss.java b/proxy/src/main/java/net/md_5/bungee/netty/HandlerBoss.java index fd840d28..9d28d813 100644 --- a/proxy/src/main/java/net/md_5/bungee/netty/HandlerBoss.java +++ b/proxy/src/main/java/net/md_5/bungee/netty/HandlerBoss.java @@ -174,7 +174,7 @@ public class HandlerBoss extends ChannelInboundHandlerAdapter { ProxyServer.getInstance().getLogger().log( Level.WARNING, "{0} - could not decode packet! {1}", new Object[] { - handler, cause.getCause() != null ? cause.getCause() : cause + handler, cause } ); } } else if ( cause instanceof IOException || ( cause instanceof IllegalStateException && handler instanceof InitialHandler ) )