1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-30 18:11:44 +00:00

Move error handling to a callback

This commit is contained in:
sharkdp
2020-03-21 19:51:59 +01:00
committed by David Peter
parent a7338e2ea2
commit fc1ca0875a
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ fn main() {
match result {
Err(error) => {
handle_error(&error);
default_error_handler(&error);
process::exit(1);
}
Ok(false) => {