summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-10 10:15:58 +0000
committerErik Johnston <erik@matrix.org>2015-03-10 10:16:09 +0000
commit98b867f7b7f6b82eafa8d7694ed4703b7ce47b19 (patch)
tree87bc5ce8bad7e79e45d6251623ae3b3e97336186
parentMerge pull request #105 from matrix-org/erikj-perf (diff)
downloadsynapse-98b867f7b7f6b82eafa8d7694ed4703b7ce47b19.tar.xz
Fix bug in logging.
-rw-r--r--synapse/federation/transaction_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index 741a4e7a1a..e6eb85501a 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -144,7 +144,7 @@ class TransactionQueue(object):
                 deferred.errback(failure)
 
         def log_failure(failure):
-            logger.warn("Failed to send pdu", failure.value)
+            logger.warn("Failed to send pdu: %s", failure.value)
 
         deferred.addErrback(log_failure)