Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Fix missing slog-envlogger init (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
feymartynov committed Nov 25, 2020
1 parent f2dc52d commit a56ad3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const APP_VERSION: &str = env!("CARGO_PKG_VERSION");

#[async_std::main]
async fn main() -> Result<()> {
let _guard = slog_envlogger::init().unwrap();

let db = {
let url = var("DATABASE_URL").expect("DATABASE_URL must be specified");
let size = var("DATABASE_POOL_SIZE")
Expand Down

0 comments on commit a56ad3d

Please sign in to comment.