[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:
|
try:
|
||||||
pub_key = actor["publicKey"]["publicKeyPem"]
|
pub_key = actor["publicKey"]["publicKeyPem"]
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError as exc:
|
||||||
raise ValueError
|
raise ValueError from exc
|
||||||
except KeyError:
|
except KeyError as exc:
|
||||||
print("actore gone?")
|
print("actore gone?")
|
||||||
raise KeyError
|
raise KeyError from exc
|
||||||
|
|
||||||
sigdate = SignedData(
|
sigdate = SignedData(
|
||||||
method = request.method,
|
method = request.method,
|
||||||
|
|
Loading…
Reference in a new issue