always print the full error message
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-08-30 17:09:57 +02:00
parent 04d0d60fb3
commit ee28f87148

View File

@@ -21,10 +21,7 @@ mod util;
fn main() -> Fido2LuksResult<()> {
match run_cli() {
Err(e) => {
#[cfg(debug_assertions)]
eprintln!("{:?}", e);
#[cfg(not(debug_assertions))]
eprintln!("{}", e);
exit(e.exit_code())
}
_ => exit(0),