Browse Source

coldcard: log exception traceback in create_client

related: https://github.com/Coldcard/ckcc-protocol/pull/9
master
SomberNight 5 years ago
parent
commit
41aa50a3f3
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      electrum/plugins/coldcard/coldcard.py

4
electrum/plugins/coldcard/coldcard.py

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

Loading…
Cancel
Save