blockstore_purge: fix inspect -> inspect_err (#66)

This commit is contained in:
Ashwin Sekar 2024-03-04 17:16:31 -08:00 committed by GitHub
parent 93f5b514fa
commit 6263537bf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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