SYN-153: Fix formatting of federation error message

This commit is contained in:
Mark Haines 2014-11-19 17:23:33 +00:00
parent 493055731e
commit dcb99e4972

View File

@ -128,7 +128,7 @@ class DirectoryHandler(BaseHandler):
"servers": result.servers, "servers": result.servers,
}) })
else: else:
raise SynapseError(404, "Room alias \"%s\" not found", room_alias) raise SynapseError(404, "Room alias \"%s\" not found" % (room_alias,))
@defer.inlineCallbacks @defer.inlineCallbacks