Error code must be an integer

This commit is contained in:
Erik Johnston 2014-09-03 19:19:24 +01:00
parent c9d1ee24ca
commit bcaea74352

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(