Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Error description when creating identity with web3url sent as null #106

Open
rauljareno opened this issue May 18, 2020 · 0 comments
Open
Labels
Milestone

Comments

@rauljareno
Copy link
Contributor

Right now, when sending null value to the web3url parameter passed to create an identity, the method is returning an error with a description that gives information of how the method is working internally (ethclient, dial unix, missing address...) I think this error should be more generic to the integrator and just inform that the web3url parameter sent is not valid

Iden3mobile.newIdentity(
"$storePath/alias",
"password",
null,
1000,
null
) { event -> print(event) }

Result -> "Error dialing with ethclient: dial unix: missing address"
Expected -> "There was an error connecting with the web3url sent as parameter. Please, check it and try again"

@arnaubennassar arnaubennassar added this to the phase3 milestone Jun 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants