aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--labbot/bot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/labbot/bot.py b/labbot/bot.py
index 3b41ed6..6781196 100644
--- a/labbot/bot.py
+++ b/labbot/bot.py
@@ -45,6 +45,8 @@ class Bot:
self.addons.append(addon)
except ModuleNotFoundError:
log.error(f"No addon named `{addon}`")
+ except Exception as e:
+ log.exception(e)
def register(self, func, *args, **kwargs) -> None:
self.instance.router.register(*args, **kwargs)(func)