From bcaea74352034bfad7bc6e157422a2bc3127271e Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 3 Sep 2014 19:19:24 +0100 Subject: Error code must be an integer --- synapse/handlers/federation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') 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( -- cgit 1.4.1