hw plugins: log exception at import time (but only if interesting)
related: https://github.com/spesmilo/electrum/issues/6928
This commit is contained in:
@@ -49,7 +49,9 @@ try:
|
||||
except:
|
||||
return False
|
||||
|
||||
except ImportError:
|
||||
except ImportError as e:
|
||||
if not (isinstance(e, ModuleNotFoundError) and e.name == 'ckcc'):
|
||||
_logger.exception('error importing coldcard plugin deps')
|
||||
requirements_ok = False
|
||||
|
||||
COINKITE_VID = 0xd13e
|
||||
|
||||
Reference in New Issue
Block a user