more accurate expect comment

This commit is contained in:
Zynh0722 2023-11-06 20:40:16 -08:00
parent a22cb3b306
commit a9eef2b68f

View file

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