Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
FederationDeniedError is not a SynapseError
Browse files Browse the repository at this point in the history
Spawning from #13816 (comment)
  • Loading branch information
MadLittleMods committed Oct 15, 2022
1 parent 616dcc1 commit bcc7132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/api/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def __init__(self, msg: str):
)


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.
Expand Down

0 comments on commit bcc7132

Please sign in to comment.