diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-03 19:19:24 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-03 19:19:24 +0100 |
commit | bcaea74352034bfad7bc6e157422a2bc3127271e (patch) | |
tree | b0c72b5832e8a15b91c8ad6591410258a1f2f3ec /synapse/handlers/federation.py | |
parent | Import SynapseError (diff) | |
download | synapse-bcaea74352034bfad7bc6e157422a2bc3127271e.tar.xz |
Error code must be an integer
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 43c1b1bd0d..59cbf71d78 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -237,7 +237,7 @@ class FederationHandler(BaseHandler): try: yield d except defer.CancelledError: - raise SynapseError("500", "Unable to join remote room") + raise SynapseError(500, "Unable to join remote room") try: yield self.store.store_room( |