Merge pull request 'Fix usage messages being printed in debug mode' (#47) from fix-usage-messages into master

Reviewed-on: #47
This commit is contained in:
Leonard Steppy 2026-09-03 15:04:24 +02:00
commit 9a4841b9d9

View File

@ -835,8 +835,14 @@ where
}
}
fn main() -> Result<(), String> {
Application::<Prod>::default().run()
fn main() {
match Application::<Prod>::default().run() {
Ok(_) => {}
Err(e) => {
eprintln!("{}", e);
std::process::exit(1);
}
}
}
fn parse_server_configuration<F>(