]> git.aero2k.de Git - urlbot-v3.git/commitdiff
"idiotencatch"
authorThorsten <mail@aero2k.de>
Sun, 7 Oct 2018 17:44:38 +0000 (19:44 +0200)
committerThorsten <mail@aero2k.de>
Sun, 7 Oct 2018 17:44:38 +0000 (19:44 +0200)
distbot/bot/action_worker.py

index 1cb4ce1b5b7e39d6d218a207aa4dc05815af059c..c800760081d771afd19781d4aa1454b462d8f727 100644 (file)
@@ -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")