Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Remove log.error that was out of place. Thanks David\!
Browse files Browse the repository at this point in the history
  • Loading branch information
rantav committed Jan 16, 2011
1 parent d789d68 commit a2b61d3
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -95,10 +95,9 @@ private Cassandra.Client createThriftClient(CassandraHost cassandraHost)
try {
tr.open();
} catch (TTransportException e) {
clientMonitor.incCounter(Counter.CONNECT_ERROR);
// Thrift exceptions aren't very good in reporting, so we have to catch the exception here and
// add details to it.
log.error("Unable to open transport to " + cassandraHost.getName(), e);
clientMonitor.incCounter(Counter.CONNECT_ERROR);
throw new HectorTransportException("Unable to open transport to " + cassandraHost.getName() +" , " +
e.getLocalizedMessage(), e);
}
Expand Down

0 comments on commit a2b61d3

Please sign in to comment.