coldcard: log exception traceback in create_client
related: https://github.com/Coldcard/ckcc-protocol/pull/9
This commit is contained in:
@@ -519,8 +519,8 @@ class ColdcardPlugin(HW_PluginBase):
|
|||||||
rv = CKCCClient(self, handler, device.path,
|
rv = CKCCClient(self, handler, device.path,
|
||||||
is_simulator=(device.product_key[1] == CKCC_SIMULATED_PID))
|
is_simulator=(device.product_key[1] == CKCC_SIMULATED_PID))
|
||||||
return rv
|
return rv
|
||||||
except:
|
except Exception as e:
|
||||||
self.logger.info('late failure connecting to device?')
|
self.logger.exception('late failure connecting to device?')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def setup_device(self, device_info, wizard, purpose):
|
def setup_device(self, device_info, wizard, purpose):
|
||||||
|
|||||||
Reference in New Issue
Block a user