Skip to content

Commit

Permalink
Expand Error Message for rpcInternal (XRPLF#4959)
Browse files Browse the repository at this point in the history
Validator operators have been confused by the rpcInternal error, which can occur if the server is not running in another process.
  • Loading branch information
ckeshava authored Oct 1, 2024
1 parent 8e2c85d commit bf4a7b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/xrpld/net/detail/RPCCall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bf4a7b6

Please sign in to comment.