summary refs log tree commit diff
path: root/synapse/federation/federation_base.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-04-25 21:08:12 +0100
committerRichard van der Hoff <richard@matrix.org>2019-04-25 22:02:03 +0100
commitfd8fb32bdd70b0ad68666e0f39a95ac90f9b1c27 (patch)
treefcd9e04adf8da6e70845a5f33c7fac0562612b56 /synapse/federation/federation_base.py
parentClarify logging when PDU signature checking fails (diff)
downloadsynapse-fd8fb32bdd70b0ad68666e0f39a95ac90f9b1c27.tar.xz
remove extraneous exception logging
Diffstat (limited to 'synapse/federation/federation_base.py')
-rw-r--r--synapse/federation/federation_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/federation_base.py b/synapse/federation/federation_base.py
index 1d641337da..832e2bdb9b 100644
--- a/synapse/federation/federation_base.py
+++ b/synapse/federation/federation_base.py
@@ -274,7 +274,7 @@ def _check_sigs_on_pdus(keyring, room_version, pdus):
             "event id %s: unable to verify signature for sender %s: %s",
             pdu_to_check.pdu.event_id,
             pdu_to_check.sender_domain,
-            e,
+            e.getErrorMessage(),
         )
         return e
 
@@ -305,7 +305,7 @@ def _check_sigs_on_pdus(keyring, room_version, pdus):
             logger.warning(
                 "event id %s: unable to verify signature for event id domain: %s",
                 pdu_to_check.pdu.event_id,
-                e,
+                e.getErrorMessage(),
             )
             return e