1
0

hw plugins: log exception at import time (but only if interesting)

related: https://github.com/spesmilo/electrum/issues/6928
This commit is contained in:
SomberNight
2021-01-11 00:05:23 +01:00
parent de903103da
commit 2eb02931ae
4 changed files with 14 additions and 7 deletions

View File

@@ -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