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 51e8c4f commit 8769711
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/core/SQLHistorian/sqlhistorian/historian.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def starting(self, sender, **kwargs):
print('Starting address: {} identity: {}'.format(self.core.address, self.core.identity))
try:
self.reader = DbFuncts(**connection['params'])
except AttributeError as exc:
_log.exception(exp)
except AttributeError:
_log.exception('bad connection parameters')
self.core.stop()
return

Expand Down

0 comments on commit 8769711

Please sign in to comment.