mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix throw in error output
This commit is contained in:
parent
d079cdbfaa
commit
bfe3f378b2
@ -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"];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user