#1544: Reduce verbosity of common/harmless exception during initial connection
This commit is contained in:
parent
b86a33d058
commit
356ca08337
@ -111,11 +111,11 @@ public class HandlerBoss extends ChannelInboundHandlerAdapter
|
|||||||
{
|
{
|
||||||
handler, cause.getCause().getMessage()
|
handler, cause.getCause().getMessage()
|
||||||
} );
|
} );
|
||||||
} else if ( cause instanceof IOException )
|
} else if ( cause instanceof IOException || ( cause instanceof IllegalStateException && handler instanceof InitialHandler ) )
|
||||||
{
|
{
|
||||||
ProxyServer.getInstance().getLogger().log( Level.WARNING, "{0} - IOException: {1}", new Object[]
|
ProxyServer.getInstance().getLogger().log( Level.WARNING, "{0} - {1}: {2}", new Object[]
|
||||||
{
|
{
|
||||||
handler, cause.getMessage()
|
handler, cause.getClass().getSimpleName(), cause.getMessage()
|
||||||
} );
|
} );
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user