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'")