Log event ID on exception

This commit is contained in:
Erik Johnston 2018-04-10 12:03:33 +01:00
parent 6e025a97b4
commit d49cbf712f

View File

@ -198,7 +198,10 @@ class TransactionQueue(object):
],
)
except Exception:
logger.exception("Failed to calculate hosts in room")
logger.exception(
"Failed to calculate hosts in room for event: %s",
event.event_id,
)
return
destinations = set(destinations)