more accurate expect comment

main
Zynh0722 2023-11-06 20:40:16 -08:00
parent a22cb3b306
commit a9eef2b68f
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ async fn root(State(state): State<AppState>, HxRequest(hx): HxRequest) -> impl I
.first(&mut conn)
.await
.optional()
.expect("Query failed: No open shifts found")
.expect("Query failed")
};
tracing::debug!("{open_shift:?}");