iden3 / iden3-mobile

iden3 light client library implementation in Go for native wallets (with gomobile-friendly wrappers)
GNU General Public License v3.0
2 stars 0 forks source link

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

Open rauljareno opened 4 years ago

rauljareno commented 4 years ago

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"