Better response message when signature is missing or unsupported

This commit is contained in:
Mark Haines 2014-10-13 16:47:23 +01:00
parent 07639c79d9
commit 34034af1c9

View File

@ -42,7 +42,7 @@ class Keyring(object):
if not key_ids: if not key_ids:
raise SynapseError( raise SynapseError(
400, 400,
"No supported algorithms in signing keys", "Not signed with a supported algorithm",
Codes.UNAUTHORIZED, Codes.UNAUTHORIZED,
) )
try: try: