mirror of https://github.com/gbmor/clinte
removed panic on error in favor of exit(1) and clean msg
This commit is contained in:
parent
f682df279f
commit
06af54fd60
|
@ -14,8 +14,8 @@ where
|
|||
if *conf::DEBUG {
|
||||
log::error!("--> {:?}", err);
|
||||
}
|
||||
//std::process::exit(1);
|
||||
panic!("{:?}", err);
|
||||
eprintln!("{}", simplified_message);
|
||||
std::process::exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue