summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-04-10 12:03:33 +0100
committerErik Johnston <erik@matrix.org>2018-04-10 12:03:41 +0100
commitd49cbf712fcb152c7d3fb5b3b9bace277a3935d0 (patch)
tree98b6c5912db1e694ae707f146446a04921469859 /synapse
parentHandle all events in a room correctly (diff)
downloadsynapse-d49cbf712fcb152c7d3fb5b3b9bace277a3935d0.tar.xz
Log event ID on exception
Diffstat (limited to 'synapse')
-rw-r--r--synapse/federation/transaction_queue.py5
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)