Skip to content

Commit

Permalink
Don't call logger exception handler with exception instance. See #168.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Carpenter committed Sep 2, 2015
1 parent c9762ec commit 51e8c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/core/MasterDriverAgent/master_driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ def periodic_read(self):

try:
results = self.interface.scrape_all()
except Exception as ex:
_log.exception(ex)
except Exception:
_log.exception('unhandled exception')
return

# XXX: Does a warning need to be printed?
Expand Down

0 comments on commit 51e8c4f

Please sign in to comment.