Merge pull request #54 from vizmo/master

Fixed exception handling
This commit is contained in:
Ilya Otyutskiy 2016-07-28 20:07:29 +04:00 committed by GitHub
commit 95e24d2476
1 changed files with 2 additions and 2 deletions

View File

@ -243,6 +243,6 @@ class Daemonize(object):
try:
self.action(*privileged_action_result)
except Exception as e:
for line in traceback.format_exc(e).split("\n"):
except Exception:
for line in traceback.format_exc().split("\n"):
self.logger.error(line)