Skip to content

Commit

Permalink
Merge pull request #6 from haizaar/master
Browse files Browse the repository at this point in the history
Fixed call to logger
  • Loading branch information
haizaar committed Apr 20, 2015
2 parents 06b9277 + e301874 commit 19baafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion krest.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def wrapped(self, *args, **kwargs):
logger.error("Unknown error - Going to retry...")
retry = True
except Exception, err:
logger.error("Caught unexpected error of type %s: %s", (type(err), str(err)))
logger.error("Caught unexpected error of type %s: %s", type(err), str(err))
logger.error("The traceback is:\n%s", traceback.format_exc())
retry = False
if retry and time.time() - start_time < self.retry_cfg.not_reachable_timeout:
Expand Down

0 comments on commit 19baafc

Please sign in to comment.