Log event ID on exception

pull/3078/head
Erik Johnston 2018-04-10 12:03:33 +01:00
parent 6e025a97b4
commit d49cbf712f
1 changed files with 4 additions and 1 deletions

View File

@ -198,7 +198,10 @@ class TransactionQueue(object):
], ],
) )
except Exception: 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 return
destinations = set(destinations) destinations = set(destinations)