summary refs log tree commit diff
path: root/synapse/crypto
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-09-20 01:32:42 +0100
committerRichard van der Hoff <richard@matrix.org>2017-09-20 01:32:42 +0100
commitdd1ea9763a79f49403964667114a60f71ac1f0bf (patch)
treed0749fbda877bf01fea109675dc840f23770dcc0 /synapse/crypto
parentInvalidate signing key cache when we gat an update (diff)
downloadsynapse-dd1ea9763a79f49403964667114a60f71ac1f0bf.tar.xz
Fix incorrect key_ids in error message
Diffstat (limited to 'synapse/crypto')
-rw-r--r--synapse/crypto/keyring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py
index ebf4e2e7a6..7d142c1b96 100644
--- a/synapse/crypto/keyring.py
+++ b/synapse/crypto/keyring.py
@@ -144,7 +144,7 @@ class Keyring(object):
                 )
                 raise SynapseError(
                     401,
-                    "No key for %s with id %s" % (server_name, key_ids),
+                    "No key for %s with id %s" % (server_name, verify_request.key_ids),
                     Codes.UNAUTHORIZED,
                 )