Error code must be an integer

This commit is contained in:
Erik Johnston committed 2014-09-03 19:19:24 +01:00
1 parent c9d1ee24ca
commit bcaea74352
1 file changed
+1 -1
+1 -1
View File
@@ -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(