From bfe3f378b28140477aa70b09fc1772d8f2c59dc7 Mon Sep 17 00:00:00 2001 From: Mathias Baumann Date: Tue, 26 Mar 2019 11:32:08 +0100 Subject: [PATCH] Fix throw in error output --- test/RPCSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp index 4edf0c218b37..deb64dd80d14 100644 --- a/test/RPCSession.cpp +++ b/test/RPCSession.cpp @@ -351,7 +351,7 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector 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"]; }