diff options
author | Erik Johnston <erik@matrix.org> | 2018-04-10 12:03:33 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-04-10 12:03:41 +0100 |
commit | d49cbf712fcb152c7d3fb5b3b9bace277a3935d0 (patch) | |
tree | 98b6c5912db1e694ae707f146446a04921469859 /synapse | |
parent | Handle all events in a room correctly (diff) | |
download | synapse-d49cbf712fcb152c7d3fb5b3b9bace277a3935d0.tar.xz |
Log event ID on exception
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/transaction_queue.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py index d8e5c08a3c..8499d2429e 100644 --- a/synapse/federation/transaction_queue.py +++ b/synapse/federation/transaction_queue.py @@ -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) |