mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6380 from ethereum/fix-wrong-error-output
Fix throw in error output
This commit is contained in:
commit
6eb0349b88
@ -351,7 +351,7 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector<string> const&
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!result.isMember("result") || result["result"].isNull())
|
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"];
|
return result["result"];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user