mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-22 03:21:01 +00:00
unwrap when failling to open .env in plume
**this is a debug commit not expected to reach master, an actual fix will be needed**
This commit is contained in:
parent
777cbaa69d
commit
6c73f993d0
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ compile_i18n!();
|
|||
|
||||
/// Initializes a database pool.
|
||||
fn init_pool() -> Option<DbPool> {
|
||||
dotenv::dotenv().ok();
|
||||
dotenv::dotenv().unwrap();
|
||||
|
||||
let manager = ConnectionManager::<Connection>::new(CONFIG.database_url.as_str());
|
||||
let pool = DbPool::builder()
|
||||
|
|
Loading…
Reference in a new issue