Skip to content

Commit

Permalink
Surface more helpful error message than 'blockstore error'
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jun 2, 2020
1 parent 0f2cfec commit 1303c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger-tool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 1303c49

Please sign in to comment.