tfix #2565: do not show traceback - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 91235ed7acdf91741a2032f1a64deb1f8ac06d5f DIR parent 4934ae3cd913bc6b86affdb3f8055a4ce060c5bf HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 28 Jun 2017 05:26:52 +0200 fix #2565: do not show traceback Diffstat: M lib/transaction.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- DIR diff --git a/lib/transaction.py b/lib/transaction.py t@@ -333,9 +333,7 @@ def parse_scriptSig(d, bytes): try: signatures = parse_sig([sig]) pubkey, address = xpubkey_to_address(x_pubkey) - except: - import traceback - traceback.print_exc(file=sys.stdout) + except BaseException: print_error("cannot find address in input script", bytes.encode('hex')) return d['type'] = 'p2pkh'