Skip to content

Commit

Permalink
Fix throw in error output
Browse files Browse the repository at this point in the history
  • Loading branch information
Marenz committed Mar 26, 2019
1 parent d079cdb commit bfe3f37
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 bfe3f37

Please sign in to comment.