[lint] fix checker:raise-missing-from
This commit is contained in:
parent
0f9761ff5c
commit
f5f962a85c
1 changed files with 4 additions and 4 deletions
|
@ -24,11 +24,11 @@ def inbox_prechecker(
|
|||
|
||||
try:
|
||||
pub_key = actor["publicKey"]["publicKeyPem"]
|
||||
except json.JSONDecodeError:
|
||||
raise ValueError
|
||||
except KeyError:
|
||||
except json.JSONDecodeError as exc:
|
||||
raise ValueError from exc
|
||||
except KeyError as exc:
|
||||
print("actore gone?")
|
||||
raise KeyError
|
||||
raise KeyError from exc
|
||||
|
||||
sigdate = SignedData(
|
||||
method = request.method,
|
||||
|
|
Loading…
Reference in a new issue