Skip to content

Commit

Permalink
bug 826172 - adding hbase to error messages to help clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
selenamarie authored and lonnen committed Jan 15, 2013
1 parent 8808cb8 commit dd03b1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions socorro/external/hbase/hbase_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def f(self, *args, **kwargs):
# drop and remake connection
except self.hbaseThriftExceptions, x:
self.logger.debug(
'retry_wrapper: handled exception, %s',
'hbase client retry_wrapper: handled exception, %s',
str(x)
)
if not countdown:
Expand All @@ -204,12 +204,12 @@ def f(self, *args, **kwargs):
self.close()
except self.hbaseThriftExceptions:
pass
self.logger.debug('retry_wrapper: about to retry connection')
self.logger.debug('hbase client retry_wrapper: about to retry connection')
self.make_connection(timeout=self.timeout)
# unknown error - abort
except Exception, x:
self.logger.debug(
'retry_wrapper: unhandled exception, %s',
'hbase client retry_wrapper: unhandled exception, %s',
str(x)
)
raise
Expand Down

0 comments on commit dd03b1a

Please sign in to comment.