Skip to content

Commit

Permalink
chore: better display errors when handling a given dependency
Browse files Browse the repository at this point in the history
Using the pretty-print display for anyhow errors will display the
transitive closure of the errors' sources.
  • Loading branch information
bnjbvr committed Jan 15, 2025
1 parent e550550 commit 91fcd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ fn run_machete() -> anyhow::Result<bool> {
}

Err(err) => {
eprintln!("error when handling {}: {}", manifest_path.display(), err);
eprintln!("error when handling {}: {:#}", manifest_path.display(), err);
None
}
},
Expand Down

0 comments on commit 91fcd21

Please sign in to comment.