commit 41aa50a3f366e9923c843ea00944558741b86011
parent a3332dc72a1428b8230483f1130c381958ed80e5
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 13 May 2020 18:11:53 +0200
coldcard: log exception traceback in create_client
related: https://github.com/Coldcard/ckcc-protocol/pull/9
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/plugins/coldcard/coldcard.py b/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):