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 tequ
parent 48bb555f92
commit 5675408c51

View File

@@ -1530,7 +1530,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;