Commit 8d23072a authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Cleaner way to quit

parent 8cebe512
...@@ -238,8 +238,7 @@ if __name__ == "__main__": ...@@ -238,8 +238,7 @@ if __name__ == "__main__":
logger.critical(traceback.format_exc()) logger.critical(traceback.format_exc())
logger.critical(str(err)) logger.critical(str(err))
raise raise
logger.critical("amqp worker quitting") logger.critical("amqp worker quitting")
sys.exit(1) sys.exit(1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment