0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-05-20 20:43:45 +02:00

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:
raise SynapseError(
400,
"No supported algorithms in signing keys",
"Not signed with a supported algorithm",
Codes.UNAUTHORIZED,
)
try: