diff --git a/src/main.rs b/src/main.rs index 41b9a6cd..d2b186d7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -56,7 +56,7 @@ fn init_pool() -> Option { } fn main() { - let pool = init_pool(); + let pool = init_pool().expect("Couldn't intialize database pool"); rocket::ignite() .mount("/", routes![ routes::blogs::paginated_details,