mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
debug exception
This commit is contained in:
parent
df0f9ea2f4
commit
72244d06d8
1 changed files with 3 additions and 2 deletions
|
@ -68,7 +68,8 @@ if mode=="new":
|
|||
print("seedwords='"+seedwordsString+"'")
|
||||
except:
|
||||
e = sys.exc_info()[0]
|
||||
write_to_page( "<p>Error: %s</p>" % e )
|
||||
print(e)
|
||||
print >> sys.stderr, e
|
||||
print("err='Failed: RPC GenSeedRequest'")
|
||||
|
||||
# TODO: do first https://api.lightning.community/#genseed
|
||||
|
@ -85,7 +86,7 @@ if mode=="new":
|
|||
response = stub.InitWallet(request)
|
||||
except:
|
||||
e = sys.exc_info()[0]
|
||||
write_to_page( "<p>Error: %s</p>" % e )
|
||||
print >> sys.stderr, e
|
||||
print("err='Failed: RPC InitWallet'")
|
||||
|
||||
elif mode=="seed":
|
||||
|
|
Loading…
Add table
Reference in a new issue