Skip to content

Commit cfb7a3b

Browse files
authored
fix(voyager): await axum::serve future (#5228)
2 parents b69b6d9 + 1376ae7 commit cfb7a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/voyager-core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ pub mod api {
13881388

13891389
let listener = tokio::net::TcpListener::bind(laddr).await.unwrap();
13901390

1391-
axum::serve(listener, app)
1391+
axum::serve(listener, app).await.expect("error serving api")
13921392
});
13931393

13941394
queue_rx

0 commit comments

Comments
 (0)