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
2026-02-20 00:36:12 +09:00
committed by tequ
parent cf80df3eca
commit 282b7b73c5

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;