mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-19 15:57:37 +01:00
print all stacktraces when debug
This commit is contained in:
parent
989a2be326
commit
c60755a8c6
@ -66,9 +66,9 @@ public class FabricDecodeHandler extends MessageToMessageDecoder<ByteBuf> {
|
||||
if (PipelineUtil.containsCause(cause, CancelCodecException.class)) return;
|
||||
super.exceptionCaught(ctx, cause);
|
||||
|
||||
if (PipelineUtil.containsCause(cause, InformativeException.class)
|
||||
&& (info.getProtocolInfo().getState() != State.HANDSHAKE
|
||||
|| Via.getManager().debugHandler().enabled())) {
|
||||
if ((PipelineUtil.containsCause(cause, InformativeException.class)
|
||||
&& info.getProtocolInfo().getState() != State.HANDSHAKE)
|
||||
|| Via.getManager().debugHandler().enabled()) {
|
||||
cause.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user