Permalink
Browse files

Printing the cause of the exception of GossipRouter.getMembers()

  • Loading branch information...
1 parent 08cf16c commit 771843ff5f1b2f1825d27043689ef99b11161b86 @belaban committed Feb 1, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/org/jgroups/protocols/TCPGOSSIP.java
@@ -136,7 +136,8 @@ public void handleDisconnect() {
responses.addAll(rsps);
}
catch(Throwable t) {
- log.warn("failed fetching members from " + stub.getGossipRouterAddress() + ": " + t);
+ log.warn("failed fetching members from " + stub.getGossipRouterAddress() + ": " + t +
+ ", cause: " + t.getCause());
}
}

0 comments on commit 771843f

Please sign in to comment.