Surface more helpful error message than 'blockstore error'
This commit is contained in:
parent
0f2cfec52e
commit
1303c4964b
|
@ -81,7 +81,7 @@ fn output_slot(
|
||||||
|
|
||||||
let (entries, num_shreds, _is_full) = blockstore
|
let (entries, num_shreds, _is_full) = blockstore
|
||||||
.get_slot_entries_with_shred_info(slot, 0, allow_dead_slots)
|
.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 {
|
if *method == LedgerOutputMethod::Print {
|
||||||
println!("Slot Meta {:?}", blockstore.meta(slot));
|
println!("Slot Meta {:?}", blockstore.meta(slot));
|
||||||
|
|
Loading…
Reference in New Issue