Log traceback for exceptions popping up to main()

This commit is contained in:
Stein Magnus Jodal 2011-06-10 14:18:09 +02:00
parent 2453e6826f
commit 51e43487c3

View File

@ -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():