Skip to content
Browse files

Reduce verbosity on ConnectException

  • Loading branch information...
1 parent 88c4e63 commit 970554bfd6d757ca8122b7cab8d58d54f70ece6b @dgomezferro committed Oct 18, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/main/java/com/yahoo/pasc/paxos/client/PaxosClientHandler.java
View
3 src/main/java/com/yahoo/pasc/paxos/client/PaxosClientHandler.java
@@ -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();
}

0 comments on commit 970554b

Please sign in to comment.
Something went wrong with that request. Please try again.