1
0

coldcard: log exception traceback in create_client

related: https://github.com/Coldcard/ckcc-protocol/pull/9
This commit is contained in:
SomberNight
2020-05-13 18:11:53 +02:00
parent a3332dc72a
commit 41aa50a3f3

View File

@@ -519,8 +519,8 @@ class ColdcardPlugin(HW_PluginBase):
rv = CKCCClient(self, handler, device.path,
is_simulator=(device.product_key[1] == CKCC_SIMULATED_PID))
return rv
except:
self.logger.info('late failure connecting to device?')
except Exception as e:
self.logger.exception('late failure connecting to device?')
return None
def setup_device(self, device_info, wizard, purpose):