summary refs log tree commit diff
path: root/synapse/federation/transaction_queue.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-11-27 10:32:30 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-02-13 20:54:27 +0000
commitb8deaa077e82a1d1418f704659abaa609e6d400b (patch)
treea3c09e213da196e1da087b59397a95ecf4196579 /synapse/federation/transaction_queue.py
parentMake synapse talk HTTP to the local proxy only when federating (diff)
downloadsynapse-b8deaa077e82a1d1418f704659abaa609e6d400b.tar.xz
Strip signatures and hashes on outgoing events
Diffstat (limited to 'synapse/federation/transaction_queue.py')
-rw-r--r--synapse/federation/transaction_queue.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index 099ace28c1..c021add936 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -519,7 +519,7 @@ class TransactionQueue(object):
         except FederationDeniedError as e:
             logger.info(e)
         except Exception as e:
-            logger.warn(
+            logger.exception(
                 "TX [%s] Failed to send transaction: %s",
                 destination,
                 e,
@@ -575,6 +575,7 @@ class TransactionQueue(object):
         success = True
 
         logger.debug("TX [%s] _attempt_new_transaction", destination)
+        logger.debug("TX [%s] _attempt_new_transaction", destination)
 
         txn_id = str(self._next_txn_id)