zingolib
zingolib copied to clipboard
More informative messages when cli fails to launch.
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.