zingolib icon indicating copy to clipboard operation
zingolib copied to clipboard

More informative messages when cli fails to launch.

Open dannasessha opened this issue 2 years ago • 1 comments

While working on a feature, I saw

Error during startup:Error with response: Status { code: Unavailable, message: "error trying to connect: tcp connect error: Connection refused (os error 111)", source: Some(hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))) }
If you repeatedly run into this issue, you might have to restore your wallet from your seed phrase.

This failure had nothing at all to do with the seed phrase, and a naive user wouldn't know this.

We should look at what failure messages are printed under what conditions, and probably improve them.

dannasessha avatar Jul 04 '22 07:07 dannasessha