Adding debug information in trace_error_exit()
This commit is contained in:
parent
703788d9d2
commit
ea6daaa0f4
1 changed files with 2 additions and 0 deletions
|
@ -31,7 +31,9 @@ pub fn trace_error(e: &Error) {
|
|||
pub fn trace_error_exit(e: &Error, code: i32) {
|
||||
use std::process::exit;
|
||||
|
||||
debug!("Tracing error...");
|
||||
trace_error(e);
|
||||
debug!("Calling exit()");
|
||||
exit(code);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue