diff --git a/src/utils.rs b/src/utils.rs index 63b00ee..8ce95e6 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -26,7 +26,7 @@ pub fn ok_or_exit(res: Result) -> T { return match res { Ok(k) => k, Err(err) => { - writeln!(io::stderr(), "Error: {:?}", err).unwrap(); + writeln!(io::stderr(), "Error: {}", err).unwrap(); exit(1); } };