summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-10-14 23:27:59 -0500
committerEric Eastwood <erice@element.io>2022-10-14 23:27:59 -0500
commitbcc7132880dc1cb54de51dc3c68bc1fcf2d394c0 (patch)
treeccfb7b63dace037c3febd9afe8c4555c690b97a4
parentBump types-bleach from 4.1.4 to 5.0.3 (#14188) (diff)
downloadsynapse-madlittlemods/FederationDeniedError-is-not-SynapseError.tar.xz
Spawning from https://github.com/matrix-org/synapse/pull/13816#discussion_r993262622
-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.