mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
ledger: a bit friendlier msg when show_address fails for hw.1
This commit is contained in:
parent
fad25af204
commit
33e3170591
1 changed files with 5 additions and 0 deletions
|
@ -516,6 +516,11 @@ class Ledger_KeyStore(Hardware_KeyStore):
|
|||
pass
|
||||
elif e.sw == 0x6982:
|
||||
raise # pin lock. decorator will catch it
|
||||
elif e.sw == 0x6b00: # hw.1 raises this
|
||||
self.handler.show_error('{}\n{}\n{}'.format(
|
||||
_('Error showing address') + ':',
|
||||
e,
|
||||
_('Your device might not have support for this functionality.')))
|
||||
else:
|
||||
traceback.print_exc(file=sys.stderr)
|
||||
self.handler.show_error(e)
|
||||
|
|
Loading…
Add table
Reference in a new issue