Log traceback for exceptions popping up to main()
This commit is contained in:
parent
2453e6826f
commit
51e43487c3
@ -44,6 +44,9 @@ def main():
|
||||
time.sleep(1)
|
||||
except KeyboardInterrupt:
|
||||
logger.info(u'Interrupted. Exiting...')
|
||||
except Exception as e:
|
||||
logger.exception(e)
|
||||
finally:
|
||||
stop_all_actors()
|
||||
|
||||
def parse_options():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user