diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-12-02 08:51:36 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-12-02 08:55:18 +0100 |
commit | fe37fbe606f099e81c693fae248c23c8f8fd5735 (patch) | |
tree | 604b80f9507866f60a576a7a14362df42f8aeb6e /src/rpc/rawtransaction.cpp | |
parent | 3fbf07926240256d20ca33fa6b049713d4881992 (diff) | |
download | bitcoin-fe37fbe606f099e81c693fae248c23c8f8fd5735.tar.xz |
bitcoin-cli: Make error message less confusing
Sorry for the churn on this, but the current message (introduced in #9073)
isn't acceptable:
$ src/bitcoin-cli getinfo
rpc: couldn't connect to server
(make sure server is running and you are connecting to the correct RPC port: -1 unknown)
Putting the error code after the words "RPC port" made me wonder whether
there was a port configuration issue.
This changes it to:
$ src/bitcoin-cli getinfo
error: couldn't connect to server: unknown (code -1)
(make sure server is running and you are connecting to the correct RPC port)
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
0 files changed, 0 insertions, 0 deletions