Skip to content

Commit 1ca8331

Browse files
author
Nicholas Cyprus
committed
Use debug printing for anyhow errors to show the full cause and context
1 parent 961bcd3 commit 1ca8331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ fn main() {
11651165
Ok(ExitError(code)) => process::exit(code),
11661166
Err(err) => {
11671167
let error_str = "ERROR:".red().bold();
1168-
eprintln!("{} {}", error_str, err);
1168+
eprintln!("{} {:?}", error_str, err);
11691169
process::exit(1);
11701170
}
11711171
}

0 commit comments

Comments
 (0)