Commit 3702ba5f authored by Sigmund Augdal's avatar Sigmund Augdal

Don't try to restart when an Exception occurs. This causes too many open files (somehow)

parent 0c2cdc01
......@@ -132,11 +132,10 @@ def main(args):
def daemon_main(args):
while True:
try:
main(args)
except Exception:
logging.exception("Unhandled exception. Restarting")
try:
main(args)
except Exception:
logging.exception("Unhandled exception. Restarting")
def parse_args():
......
Markdown is supported
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