Skip to content

Commit

Permalink
Fix missing await & ?
Browse files Browse the repository at this point in the history
  • Loading branch information
raffomania committed Dec 26, 2023
1 parent ecc12e7 commit 00071dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub async fn start(listen: ListenArgs, app: Router) -> anyhow::Result<()> {
let listening_on = listener.local_addr()?;
tracing::info!("Listening on http://{listening_on}");

axum::serve(listener, app);
axum::serve(listener, app).await?;

Ok(())
}

0 comments on commit 00071dc

Please sign in to comment.