diff --git a/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java b/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java index 7f07aab39e2..2702ee247a9 100644 --- a/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java +++ b/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java @@ -605,7 +605,7 @@ public class NettyTransport extends AbstractLifecycleComponent implem return this.boundAddress; } - void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception { + protected void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception { if (!lifecycle.started()) { // ignore return;