mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-28 06:25:49 +00:00
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:
@@ -1530,7 +1530,10 @@ struct RPCCallImp
|
|||||||
|
|
||||||
// Receive reply
|
// Receive reply
|
||||||
if (strData.empty())
|
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
|
// Parse reply
|
||||||
JLOG(j.debug()) << "RPC reply: " << strData << std::endl;
|
JLOG(j.debug()) << "RPC reply: " << strData << std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user