diff options
author | Eric Eastwood <erice@element.io> | 2022-10-14 23:27:59 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-10-14 23:27:59 -0500 |
commit | bcc7132880dc1cb54de51dc3c68bc1fcf2d394c0 (patch) | |
tree | ccfb7b63dace037c3febd9afe8c4555c690b97a4 | |
parent | Bump types-bleach from 4.1.4 to 5.0.3 (#14188) (diff) | |
download | synapse-madlittlemods/FederationDeniedError-is-not-SynapseError.tar.xz |
`FederationDeniedError` is not a `SynapseError` github/madlittlemods/FederationDeniedError-is-not-SynapseError madlittlemods/FederationDeniedError-is-not-SynapseError
Spawning from https://github.com/matrix-org/synapse/pull/13816#discussion_r993262622
-rw-r--r-- | synapse/api/errors.py | 2 |
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. |