diff --git a/src/main.rs b/src/main.rs index 968a8a9..d5ad1ee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -71,7 +71,10 @@ fn clean_expired_evt( #[launch] async fn rocket() -> _ { let rocket = rocket::build(); - let config: Config = rocket.figment().extract().unwrap(); + let config: Config = rocket + .figment() + .extract() + .unwrap_or_else(|err| panic!("Error parsing config:\n{}", err)); let tracking: Tracking = Arc::new( config .teams