mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-01-10 21:25:25 +00:00
Revert "Initialize Rocket early to initialize logger early"
This reverts commit 30093d3a9f
.
This commit is contained in:
parent
8539bdaf72
commit
b93ebedaf3
1 changed files with 1 additions and 3 deletions
|
@ -83,8 +83,6 @@ and https://docs.joinplu.me/installation/init for more info.
|
|||
"#,
|
||||
)
|
||||
.get_matches();
|
||||
// Initialize Rocket early to load its internal logger
|
||||
let rocket = rocket::custom(CONFIG.rocket.clone().unwrap());
|
||||
let dbpool = init_pool().expect("main: database pool initialization error");
|
||||
if IMPORTED_MIGRATIONS
|
||||
.is_pending(&dbpool.get().unwrap())
|
||||
|
@ -178,7 +176,7 @@ Then try to restart Plume
|
|||
warn!("Please refer to the documentation to see how to configure it.");
|
||||
}
|
||||
|
||||
let rocket = rocket
|
||||
let rocket = rocket::custom(CONFIG.rocket.clone().unwrap())
|
||||
.mount(
|
||||
"/",
|
||||
routes![
|
||||
|
|
Loading…
Reference in a new issue