|
|
@ -125,8 +125,6 @@ void Client::onBadBlock(Exception& _ex) |
|
|
|
// general block failure.
|
|
|
|
} |
|
|
|
|
|
|
|
if (string const* vmtraceJson = boost::get_error_info<errinfo_vmtrace>(_ex)) |
|
|
|
Json::Reader().parse(*vmtraceJson, report["hints"]["vmtrace"]); |
|
|
|
if (vector<bytes> const* receipts = boost::get_error_info<errinfo_receipts>(_ex)) |
|
|
|
{ |
|
|
|
report["hints"]["receipts"] = Json::arrayValue; |
|
|
@ -178,6 +176,9 @@ void Client::onBadBlock(Exception& _ex) |
|
|
|
|
|
|
|
cwarn << ("Report: \n" + Json::StyledWriter().write(report)); |
|
|
|
|
|
|
|
if (string const* vmtraceJson = boost::get_error_info<errinfo_vmtrace>(_ex)) |
|
|
|
Json::Reader().parse(*vmtraceJson, report["hints"]["vmtrace"]); |
|
|
|
|
|
|
|
if (!m_sentinel.empty()) |
|
|
|
{ |
|
|
|
jsonrpc::HttpClient client(m_sentinel); |
|
|
|