Permalink
Browse files

Fixes a infinite loop problem during a RT exception.

  • Loading branch information...
1 parent e029261 commit 2d03e5ce9e78acdcbec8a8bb23e030ba5d9397d9 @amccurry amccurry committed Mar 1, 2012
@@ -179,6 +179,8 @@ protected static boolean isConnectionGood(Connection connection) {
if (handleError(connection,client,retries,command,t,maxRetries,backOffTime,maxBackOffTime)) {
throw t;
}
+ } else {
+ throw e;
}
} catch (TTransportException e) {
if (handleError(connection,client,retries,command,e,maxRetries,backOffTime,maxBackOffTime)) {

0 comments on commit 2d03e5c

Please sign in to comment.