summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-09-28 13:15:00 +0100
committerGitHub <noreply@github.com>2020-09-28 13:15:00 +0100
commit450ec4844599b6f06ff6c699a8edc067fa7d4217 (patch)
tree669f8acfd880ac1ce7ab476c9416a31f6c181bf2 /synapse/handlers/federation.py
parenttypo (diff)
downloadsynapse-450ec4844599b6f06ff6c699a8edc067fa7d4217.tar.xz
A pair of tiny cleanups in the federation request code. (#8401)
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 9f773aefa7..5bcfb231b2 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -281,7 +281,7 @@ class FederationHandler(BaseHandler):
                             raise Exception(
                                 "Error fetching missing prev_events for %s: %s"
                                 % (event_id, e)
-                            )
+                            ) from e
 
                         # Update the set of things we've seen after trying to
                         # fetch the missing stuff