Add detail to error log (#1353)

This commit is contained in:
cyan317
2024-04-12 10:56:37 +01:00
committed by GitHub
parent e744a5a8a9
commit 25876aef9b

View File

@@ -258,7 +258,7 @@ private:
if (isDeleted) {
auto const old = backend_->cache().get(*key, lgrInfo.seq - 1);
ASSERT(old.has_value(), "Deleted object must be in cache");
ASSERT(old.has_value(), "Deleted object {} must be in cache", ripple::strHex(*key));
checkBookBase = isBookDir(*key, *old);
} else {
checkBookBase = isBookDir(*key, *blob);