summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-11-19 17:23:33 +0000
committerMark Haines <mark.haines@matrix.org>2014-11-20 09:58:23 +0000
commitdcb99e4972f74b7d2f125915f4287f7a663f9b0a (patch)
tree80c6ac86d68df402cfa44339d93220604fc8e2d4
parentFix tests from prev commit (diff)
downloadsynapse-dcb99e4972f74b7d2f125915f4287f7a663f9b0a.tar.xz
SYN-153: Fix formatting of federation error message
Diffstat (limited to '')
-rw-r--r--synapse/handlers/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index ed9b0f8551..05e5c6ecfc 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -128,7 +128,7 @@ class DirectoryHandler(BaseHandler):
                 "servers": result.servers,
             })
         else:
-            raise SynapseError(404, "Room alias \"%s\" not found", room_alias)
+            raise SynapseError(404, "Room alias \"%s\" not found" % (room_alias,))
 
 
     @defer.inlineCallbacks