This commit is contained in:
Ed Hennis
2026-07-21 15:40:19 -04:00
parent 2ebcc2decd
commit 3dbcec5777

View File

@@ -268,9 +268,9 @@ saveValidatedLedger(
app.getAcceptedLedgerCache().canonicalizeReplaceClient(ledger->header().hash, aLedger);
}
}
catch (std::exception const&)
catch (std::exception const& e)
{
JLOG(j.warn()) << "An accepted ledger was missing nodes";
JLOG(j.warn()) << "An accepted ledger was missing nodes " << e.what();
app.getLedgerMaster().failedSave(seq, ledger->header().hash);
// Clients can now trust the database for information about this
// ledger sequence.