From: Thorsten Date: Sun, 7 Oct 2018 17:44:38 +0000 (+0200) Subject: "idiotencatch" X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=1d9c74a5c7a9055b13064d82b07a416d80e56ca6;p=urlbot-v3.git "idiotencatch" --- diff --git a/distbot/bot/action_worker.py b/distbot/bot/action_worker.py index 1cb4ce1..c800760 100644 --- a/distbot/bot/action_worker.py +++ b/distbot/bot/action_worker.py @@ -47,7 +47,10 @@ class ActionThread(threading.Thread): self.busy = True action = self.parse_body(body) - self.run_action(action) + try: + self.run_action(action) + except: + logger.exception("Could not run action: %s", body) self.busy = False logger.debug("Done")