This commit is contained in:
jl777
2016-10-31 20:39:53 -03:00
parent c030a184f8
commit 3bc31b8c78

View File

@@ -973,8 +973,10 @@ static bool HTTPReq_JSONRPC(AcceptedConnection *conn,
// Parse request // Parse request
Value valRequest; Value valRequest;
if (!read_string(strRequest, valRequest)) if (!read_string(strRequest, valRequest))
{
fprintf(stderr,"CANTPARSE.(%s)\n",strRequest.c_str());
throw JSONRPCError(RPC_PARSE_ERROR, "Parse error"); throw JSONRPCError(RPC_PARSE_ERROR, "Parse error");
}
// Return immediately if in warmup // Return immediately if in warmup
{ {
LOCK(cs_rpcWarmup); LOCK(cs_rpcWarmup);