fix: Print cache saving error (#2794)

This commit is contained in:
Sergey Kuznetsov
2025-11-20 14:48:42 +00:00
committed by GitHub
parent 8b280e7742
commit e3170203de

View File

@@ -53,7 +53,7 @@ LedgerCacheSaver::save()
success.has_value()) {
LOG(util::LogService::info()) << "Successfully saved ledger cache in " << durationMs << " ms";
} else {
LOG(util::LogService::error()) << "Error saving LedgerCache to file";
LOG(util::LogService::error()) << "Error saving LedgerCache to file: " << success.error();
}
});
}