From 28d6b05913962ecd9a5eca085a540cb2859f48c1 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 18 Jun 2021 21:45:15 +0300 Subject: [PATCH] Log room ID in errors --- reactbot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactbot/bot.py b/reactbot/bot.py index b893110..5868dda 100644 --- a/reactbot/bot.py +++ b/reactbot/bot.py @@ -101,5 +101,5 @@ class ReactBot(Plugin): try: await rule.execute(evt, match) except Exception: - self.log.exception(f"Failed to execute {name}") + self.log.exception(f"Failed to execute {name} in {evt.room_id}") return