Skip to content

Commit 35c04ac

Browse files
author
Stephane Landelle
committed
Make Remotely Closed exception more generic
1 parent 3cff8f8 commit 35c04ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/providers/netty/NettyAsyncHttpProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ public void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) throws
14021402

14031403
if (future != null && !future.isDone() && !future.isCancelled()) {
14041404
if (!remotelyClosed(ctx.getChannel(), future)) {
1405-
abort(future, new IOException("Remotely Closed " + ctx.getChannel()));
1405+
abort(future, new IOException("Remotely Closed"));
14061406
}
14071407
} else {
14081408
closeChannel(ctx);

0 commit comments

Comments
 (0)