Skip to content

Commit 7ad7b23

Browse files
committed
use debug format
1 parent d7ae802 commit 7ad7b23

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/main.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,7 @@ fn setup_logging(matches: &clap::ArgMatches) {
139139

140140
fn main() {
141141
if let Err(ref e) = run() {
142-
error!("{}", e);
143-
144-
for e in e.chain().skip(1) {
145-
error!("caused by: {}", e);
146-
}
147-
148-
error!("backtrace: {:?}", e.backtrace());
142+
error!("{:?}", e);
149143

150144
process::exit(1);
151145
}

0 commit comments

Comments
 (0)