fix: Add better error message
This commit is contained in:
parent
9c3e08fa32
commit
a0574ab915
@ -190,8 +190,8 @@ def hnslinks(params, authentication):
|
||||
|
||||
# Sign message hns-links
|
||||
response = account.signMessage(authentication,domain,"hns-links")
|
||||
if "error" in response:
|
||||
return {"status": "Error signing message"}
|
||||
if "error" in response and response["error"] != False:
|
||||
return {"status": f"Error: {response['error']}"}
|
||||
return {"status": response}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user