Fix throw in error output

This commit is contained in:
Mathias Baumann 2019-03-26 11:32:08 +01:00
parent d079cdbfaa
commit bfe3f378b2

View File

@ -351,7 +351,7 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector<string> const&
}
if (!result.isMember("result") || result["result"].isNull())
BOOST_FAIL("Missing result for JSON-RPC call: " + result.asString());
BOOST_FAIL("Missing result for JSON-RPC call: " + result.toStyledString());
return result["result"];
}