Merge pull request #6380 from ethereum/fix-wrong-error-output

Fix throw in error output
This commit is contained in:
Mathias L. Baumann 2019-03-26 12:32:19 +01:00 committed by GitHub
commit 6eb0349b88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"];
}