From 41aa50a3f366e9923c843ea00944558741b86011 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 13 May 2020 18:11:53 +0200 Subject: [PATCH] coldcard: log exception traceback in create_client related: https://github.com/Coldcard/ckcc-protocol/pull/9 --- electrum/plugins/coldcard/coldcard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/plugins/coldcard/coldcard.py b/electrum/plugins/coldcard/coldcard.py index f0936f08d..3f170bd41 100644 --- 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):