Adding debug information in trace_error_exit()

This commit is contained in:
Matthias Beyer 2016-07-15 21:57:37 +02:00
parent 703788d9d2
commit ea6daaa0f4

View file

@ -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);
}