Log room ID in errors

This commit is contained in:
Tulir Asokan 2021-06-18 21:45:15 +03:00
parent 05e479bb88
commit 28d6b05913

View file

@ -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