mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 20:15:51 +00:00
Add ripple_client module unity build and move RPCServer into it
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
|
||||
#include "../json/writer.h"
|
||||
|
||||
SETUP_LOG();
|
||||
// For logging
|
||||
struct RPCErr
|
||||
{
|
||||
};
|
||||
|
||||
Json::Value rpcError(int iError, Json::Value jvResult)
|
||||
{
|
||||
@@ -88,7 +91,7 @@ Json::Value rpcError(int iError, Json::Value jvResult)
|
||||
|
||||
if (i >= 0)
|
||||
{
|
||||
cLog(lsDEBUG) << "rpcError: "
|
||||
WriteLog (lsDEBUG, RPCErr) << "rpcError: "
|
||||
<< errorInfoA[i].pToken << ": " << errorInfoA[i].pMessage << std::endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user