mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
TestFramework: also output failed request
This commit is contained in:
parent
1466cbaa0c
commit
58a3148ffb
@ -351,7 +351,12 @@ 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.toStyledString());
|
BOOST_FAIL(
|
||||||
|
"Missing result for JSON-RPC call: " +
|
||||||
|
result.toStyledString() +
|
||||||
|
"\nRequest was " +
|
||||||
|
request
|
||||||
|
);
|
||||||
|
|
||||||
return result["result"];
|
return result["result"];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user