From 1d9c74a5c7a9055b13064d82b07a416d80e56ca6 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sun, 7 Oct 2018 19:44:38 +0200 Subject: [PATCH] "idiotencatch" --- distbot/bot/action_worker.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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") -- 2.39.2