diff --git a/src/main.rs b/src/main.rs index 136f6a63..4b5707f0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -73,7 +73,7 @@ compile_i18n!(); /// Initializes a database pool. fn init_pool() -> Option { - dotenv::dotenv().ok(); + dotenv::dotenv().unwrap(); let manager = ConnectionManager::::new(CONFIG.database_url.as_str()); let pool = DbPool::builder()