mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 19:21:57 +02:00
rpc error code
This commit is contained in:
@@ -66,11 +66,14 @@ if mode=="new":
|
|||||||
seedwords = response.cipher_seed_mnemonic
|
seedwords = response.cipher_seed_mnemonic
|
||||||
seedwordsString=','.join(seedwords)
|
seedwordsString=','.join(seedwords)
|
||||||
print("seedwords='"+seedwordsString+"'")
|
print("seedwords='"+seedwordsString+"'")
|
||||||
|
except grpc.RpcError as err:
|
||||||
|
print("err='Failed: gRPC gRPC error'")
|
||||||
|
print("errCode="+err.code())
|
||||||
|
print >> sys.stderr, err
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
#e = sys.exc_info()[0]
|
|
||||||
print >> sys.stderr, err
|
|
||||||
print("err='Failed: RPC GenSeedRequest'")
|
print("err='Failed: RPC GenSeedRequest'")
|
||||||
print("debug='"+err.debug_error_string+"'")
|
print("debug='"+err.debug_error_string+"'")
|
||||||
|
print >> sys.stderr, err
|
||||||
|
|
||||||
# TODO: do first https://api.lightning.community/#genseed
|
# TODO: do first https://api.lightning.community/#genseed
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user