Skip to content

Commit ede2262

Browse files
authored
Merge pull request #237 from ngc0202/debug-print-errors-for-context
Use debug printing for anyhow errors to show the full cause and context
2 parents 961bcd3 + 1ca8331 commit ede2262

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)