diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b614808..03d55eff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ Unreleased - Introduced extension support crate, `nitrocli-ext` - Introduced `otp-cache` core extension - Enabled usage of empty PWS slot fields +- Changed error reporting format to make up only a single line - Added `NITROCLI_RESOLVED_USB_PATH` environment variable to be used by extensions - Allowed entering of `base32` encoded strings containing spaces diff --git a/src/main.rs b/src/main.rs index a2e0a872..9a5ee4df 100644 --- a/src/main.rs +++ b/src/main.rs @@ -233,7 +233,7 @@ fn evaluate_err(err: anyhow::Error, stderr: &mut dyn io::Write) -> i32 { if let Some(err) = err.root_cause().downcast_ref::() { err.0 } else { - let _ = writeln!(stderr, "{:?}", err); + let _ = writeln!(stderr, "{:#}", err); 1 } }