mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-19 11:15:50 +00:00
better logging on corrupt successor table
This commit is contained in:
@@ -270,6 +270,12 @@ BackendInterface::fetchLedgerPage(
|
||||
BOOST_LOG_TRIVIAL(error)
|
||||
<< __func__ << " incorrect successor table. key = "
|
||||
<< ripple::strHex(keys[i]) << " - seq = " << ledgerSequence;
|
||||
std::stringstream msg;
|
||||
for (size_t j = 0; j < objects.size(); ++j)
|
||||
{
|
||||
msg << " - " << ripple::strHex(keys[i]);
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(error) << __func__ << msg.str();
|
||||
}
|
||||
assert(objects[i].size());
|
||||
page.objects.push_back({std::move(keys[i]), std::move(objects[i])});
|
||||
|
||||
Reference in New Issue
Block a user