Skip to content

Commit

Permalink
ledger log BTChipException
Browse files Browse the repository at this point in the history
  • Loading branch information
icodeface committed Jul 2, 2020
1 parent e03dec7 commit d9c8935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions electrum/plugins/ledger/ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ def sign_transaction(self, tx, password):
self.handler.show_error(_('Cancelled by user'))
return
except BTChipException as e:
self.logger.error(f"BTChipException {e}")
if e.sw in (0x6985, 0x6d00): # cancelled by user
return
elif e.sw == 0x6982:
Expand Down

0 comments on commit d9c8935

Please sign in to comment.