From 48897a3c0b293e116c4e0f1e1fbe389f3e6eba77 Mon Sep 17 00:00:00 2001 From: Ashwin Sekar Date: Mon, 4 Mar 2024 20:25:48 +0000 Subject: [PATCH] blockstore_purge: fix inspect -> inspect_err --- ledger/src/blockstore/blockstore_purge.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledger/src/blockstore/blockstore_purge.rs b/ledger/src/blockstore/blockstore_purge.rs index 15a5c4890e9f05..d8b4c7424cd8c1 100644 --- a/ledger/src/blockstore/blockstore_purge.rs +++ b/ledger/src/blockstore/blockstore_purge.rs @@ -213,7 +213,7 @@ impl Blockstore { delete_range_timer.stop(); let mut write_timer = Measure::start("write_batch"); - self.db.write(write_batch).inspect(|e| { + self.db.write(write_batch).inspect_err(|e| { error!( "Error: {:?} while submitting write batch for purge from_slot {} to_slot {}", e, from_slot, to_slot