Skip to content

Commit

Permalink
Merge pull request #6380 from ethereum/fix-wrong-error-output
Browse files Browse the repository at this point in the history
Fix throw in error output
  • Loading branch information
Marenz authored Mar 26, 2019
2 parents 27a1510 + bfe3f37 commit 6eb0349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/RPCSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
}
Expand Down

0 comments on commit 6eb0349

Please sign in to comment.