mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-28 05:05:21 +01:00
*add else statement to prevent duplicate exception logging
This commit is contained in:
parent
54098c8989
commit
2e51ec4fba
@ -79,8 +79,7 @@ public class HandlerBoss extends ChannelInboundMessageHandlerAdapter<byte[]>
|
||||
if ( cause instanceof ReadTimeoutException )
|
||||
{
|
||||
ProxyServer.getInstance().getLogger().log( Level.WARNING, handler + " - read timed out" );
|
||||
}
|
||||
if ( cause instanceof IOException )
|
||||
} else if ( cause instanceof IOException )
|
||||
{
|
||||
ProxyServer.getInstance().getLogger().log( Level.WARNING, handler + " - IOException: " + cause.getMessage() );
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user