0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-30 08:44:02 +01:00

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)