Note that _get_e2e_cross_signing_verify_key can raise a SynapseError

pull/7289/head
Andrew Morgan 2020-04-16 17:54:34 +01:00
parent b386658d28
commit bd9a6712ae
1 changed files with 1 additions and 0 deletions

View File

@ -985,6 +985,7 @@ class E2eKeysHandler(object):
Raises:
NotFoundError: if the key is not found
SynapseError: if the user_id is invalid
"""
user = UserID.from_string(user_id)
key = yield self.store.get_e2e_cross_signing_key(