Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

Commit

Permalink
Reduce verbosity on ConnectException
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomezferro committed Oct 18, 2012
1 parent 88c4e63 commit 970554b
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -418,8 +418,7 @@ public void close() {

@Override
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) {
System.err.println("Unexpected exception from downstream: " + e.getCause());
e.getCause().printStackTrace();
LOG.warn("Unexpected exception: " + e.getCause());
e.getChannel().close();
}

Expand Down

0 comments on commit 970554b

Please sign in to comment.