Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(web_chat): surface checkout error in session checkout test

Steven Enamakelebd16c31849b
diff --git a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
index ec76f00be4..d0b65dada1 100644
--- a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
+++ b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
@@ -143,7 +143,7 @@ async fn checkout_cold_boots_from_the_thread_transcript_and_checkin_keeps_it_war
CheckoutPolicy::AdoptCached,
)
.await
- .unwrap();
+ .unwrap_or_else(|error| panic!("first checkout failed: {error}"));
// Checkout binds the thread's durable session identity; the history loads
// when the session resumes, which every turn does for itself. The
// conversation the transcript holds must come back either way.