*add else statement to prevent duplicate exception logging
This commit is contained in:
		| @@ -79,8 +79,7 @@ public class HandlerBoss extends ChannelInboundMessageHandlerAdapter<byte[]> | |||||||
|             if ( cause instanceof ReadTimeoutException ) |             if ( cause instanceof ReadTimeoutException ) | ||||||
|             { |             { | ||||||
|                 ProxyServer.getInstance().getLogger().log( Level.WARNING, handler + " - read timed out" ); |                 ProxyServer.getInstance().getLogger().log( Level.WARNING, handler + " - read timed out" ); | ||||||
|             } |             } else if ( cause instanceof IOException ) | ||||||
|             if ( cause instanceof IOException ) |  | ||||||
|             { |             { | ||||||
|                 ProxyServer.getInstance().getLogger().log( Level.WARNING, handler + " - IOException: " + cause.getMessage() ); |                 ProxyServer.getInstance().getLogger().log( Level.WARNING, handler + " - IOException: " + cause.getMessage() ); | ||||||
|             } else |             } else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 md_5
					md_5