do not raise BaseException
This commit is contained in:
@@ -188,7 +188,7 @@ class Ledger_Client():
|
||||
self.perform_hw1_preflight()
|
||||
except BTChipException as e:
|
||||
if (e.sw == 0x6d00 or e.sw == 0x6700):
|
||||
raise BaseException(_("Device not in Bitcoin mode")) from e
|
||||
raise Exception(_("Device not in Bitcoin mode")) from e
|
||||
raise e
|
||||
self.preflightDone = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user