Surface more helpful error message than 'blockstore error'

This commit is contained in:
Michael Vines 2020-06-02 11:11:06 -07:00
parent 0f2cfec52e
commit 1303c4964b
1 changed files with 1 additions and 1 deletions

View File

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