mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Show JSON error if jsonParseStrict failed in soltest
This commit is contained in:
		
							parent
							
								
									efa0ccaf9e
								
							
						
					
					
						commit
						7f232358bb
					
				| @ -337,7 +337,9 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector<string> const& | ||||
| 	BOOST_TEST_MESSAGE("Reply: " + reply); | ||||
| 
 | ||||
| 	Json::Value result; | ||||
| 	BOOST_REQUIRE(jsonParseStrict(reply, result)); | ||||
| 	string errorMsg; | ||||
| 	if (!jsonParseStrict(reply, result, &errorMsg)) | ||||
| 		BOOST_REQUIRE_MESSAGE(false, errorMsg); | ||||
| 
 | ||||
| 	if (result.isMember("error")) | ||||
| 	{ | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user