Skip to content

Commit

Permalink
Merge branch 'print-backtrace-if-available' into 'master'
Browse files Browse the repository at this point in the history
Print backtrace if available

See merge request pitkley/dfwrs!123
  • Loading branch information
pitkley committed Sep 27, 2019
2 parents 55f29d9 + 29e077f commit 80b5c21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions release.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sign-commit = true
tag-name = "{{version}}"

3 changes: 2 additions & 1 deletion src/bin/dfw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ fn main() {

if let Err(ref e) = run(&matches, &r_signal, &root_logger) {
error!(root_logger, "Encountered error";
o!("error" => format!("{}", e)));
o!("error" => format!("{}", e),
"backtrace" => format!("{}", e.backtrace())));
}
}

0 comments on commit 80b5c21

Please sign in to comment.