mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-10 06:32:42 +00:00
fixup! chore(python): get human-readable errors for all ThpErrorType-s in trezorlib [no changelog]
This commit is contained in:
parent
7af9e0db08
commit
4a89665288
@ -486,5 +486,5 @@ def _get_error_from_int(error_code: int) -> str:
|
||||
if error_code == 4:
|
||||
return "INVALID DATA"
|
||||
if error_code == 5:
|
||||
return "DEVICE_LOCKED"
|
||||
return "DEVICE LOCKED"
|
||||
raise Exception("Not Implemented error case")
|
||||
|
Loading…
Reference in New Issue
Block a user