removed panic on error in favor of exit(1) and clean msg

This commit is contained in:
Benjamin Morrison 2020-07-06 01:12:30 -04:00
parent f682df279f
commit 06af54fd60
Signed by: gbmor
GPG Key ID: 8F192E4720BB0DAC
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ where
if *conf::DEBUG {
log::error!("--> {:?}", err);
}
//std::process::exit(1);
panic!("{:?}", err);
eprintln!("{}", simplified_message);
std::process::exit(1);
}
}
}