Surface more helpful error message than 'blockstore error'
This commit is contained in:
@ -81,7 +81,7 @@ fn output_slot(
|
||||
|
||||
let (entries, num_shreds, _is_full) = blockstore
|
||||
.get_slot_entries_with_shred_info(slot, 0, allow_dead_slots)
|
||||
.map_err(|err| format!("Failed to load entries for slot {}: {}", slot, err))?;
|
||||
.map_err(|err| format!("Failed to load entries for slot {}: {:?}", slot, err))?;
|
||||
|
||||
if *method == LedgerOutputMethod::Print {
|
||||
println!("Slot Meta {:?}", blockstore.meta(slot));
|
||||
|
Reference in New Issue
Block a user