Make trace_error_exit() diverging
This commit is contained in:
parent
6b34650a50
commit
df6ea4cc8c
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ pub fn trace_error(e: &Error) {
|
||||||
|
|
||||||
/// Convenience function: calls `trace_error()` with `e` and afterwards `std::process::exit()`
|
/// Convenience function: calls `trace_error()` with `e` and afterwards `std::process::exit()`
|
||||||
/// with `code`
|
/// with `code`
|
||||||
pub fn trace_error_exit(e: &Error, code: i32) {
|
pub fn trace_error_exit(e: &Error, code: i32) -> ! {
|
||||||
use std::process::exit;
|
use std::process::exit;
|
||||||
|
|
||||||
debug!("Tracing error...");
|
debug!("Tracing error...");
|
||||||
|
|
Loading…
Reference in a new issue