Expand Error Message for rpcInternal (#4959)

Validator operators have been confused by the rpcInternal error, which can occur if the server is not running in another process.
This commit is contained in:
Chenna Keshava B S
2024-10-01 17:09:42 -04:00
committed by GitHub
parent 8e2c85d14d
commit bf4a7b6ce8

View File

@@ -1309,7 +1309,10 @@ struct RPCCallImp
// Receive reply
if (strData.empty())
Throw<std::runtime_error>("no response from server");
Throw<std::runtime_error>(
"no response from server. Please "
"ensure that the rippled server is running in another "
"process.");
// Parse reply
JLOG(j.debug()) << "RPC reply: " << strData << std::endl;