Print full stack trace for packet decoder errors

This commit is contained in:
md_5 2023-09-26 06:40:02 +10:00
parent 3cb7a12738
commit 653f1691d7
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -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 ) )