From c8e6bb7cdd057b9a156c44c2a50f531192d0ae59 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Fri, 12 Apr 2019 13:09:10 +0100 Subject: [PATCH] get more info on exception --- home.admin/config.scripts/lnd.initwallet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home.admin/config.scripts/lnd.initwallet.py b/home.admin/config.scripts/lnd.initwallet.py index 9fca4d6..355956b 100644 --- a/home.admin/config.scripts/lnd.initwallet.py +++ b/home.admin/config.scripts/lnd.initwallet.py @@ -66,9 +66,9 @@ if mode=="new": seedwords = response.cipher_seed_mnemonic seedwordsString=','.join(seedwords) print("seedwords='"+seedwordsString+"'") - except: - e = sys.exc_info()[0] - print(e) + except Exception as err: + #e = sys.exc_info()[0] + print(err) print >> sys.stderr, e print("err='Failed: RPC GenSeedRequest'")