Browse Source

Avoid large dumps.

cl-refactor
Gav Wood 10 years ago
parent
commit
62f0f184b4
  1. 5
      libethereum/Client.cpp

5
libethereum/Client.cpp

@ -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);

Loading…
Cancel
Save