From 686eb7b1f05801b4e5d9b3db5ba4a79ea2dc2f9f Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Sun, 15 Jul 2018 17:41:52 -0300 Subject: [PATCH] fix a failure for channels where we catch the wrong error --- torba/baseledger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torba/baseledger.py b/torba/baseledger.py index e2b22d8aa..0f4a522c6 100644 --- a/torba/baseledger.py +++ b/torba/baseledger.py @@ -299,9 +299,9 @@ class BaseLedger(six.with_metaclass(LedgerRegistry)): )) self._on_transaction_controller.add(TransactionEvent(address, tx, remote_height, is_verified)) - except: + except Exception as e: log.exception('Failed to synchronize transaction:') - raise + raise e finally: lock.release()