Not logging the same error

This commit is contained in:
marcin.sciesinski
2019-08-28 22:37:31 -07:00
parent 0b3e0c99ad
commit 9a4b00d1fd

View File

@@ -408,7 +408,7 @@ public class LotroHttpRequestHandler extends SimpleChannelUpstreamHandler {
@Override
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) {
if (!(e.getCause() instanceof IOException) && !(e instanceof IllegalArgumentException))
if (!(e.getCause() instanceof IOException) && !(e.getCause() instanceof IllegalArgumentException))
_log.error("Error while processing request", e.getCause());
e.getChannel().close();
}