summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/api/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index c606207569..22732e9ea8 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -248,7 +248,7 @@ class UserDeactivatedError(SynapseError):
         )
 
 
-class FederationDeniedError(SynapseError):
+class FederationDeniedError(RuntimeError):
     """An error raised when the server tries to federate with a server which
     is not on its federation whitelist.