diff --git a/runtime/src/snapshot_utils.rs b/runtime/src/snapshot_utils.rs index 6e2ac5f271c267..ecef41a9bfdbd9 100644 --- a/runtime/src/snapshot_utils.rs +++ b/runtime/src/snapshot_utils.rs @@ -860,12 +860,8 @@ pub fn get_bank_snapshots(bank_snapshots_dir: impl AsRef) -> Vec { - bank_snapshots.push(snapshot_info); - } - Err(err) => { - error!("Unable to read bank snapshot for slot {}: {}", slot, err); - } + Ok(snapshot_info) => bank_snapshots.push(snapshot_info), + Err(err) => debug!("Unable to read bank snapshot for slot {slot}: {err}"), }, ), }