Skip to content

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

test(web_chat): log build error before panicking in non-ascii thread id test

Steven Enamakela6b589a203cb
diff --git a/crates/openhuman-core/src/web_chat/session_routing_tests.rs b/crates/openhuman-core/src/web_chat/session_routing_tests.rs
index 8a2d3bc489..855e5c01f6 100644
--- a/crates/openhuman-core/src/web_chat/session_routing_tests.rs
+++ b/crates/openhuman-core/src/web_chat/session_routing_tests.rs
@@ -478,6 +478,7 @@ async fn a_non_ascii_thread_id_builds_a_session_agent_without_panicking() {
.expect("build_session_agent panicked on a non-ASCII thread id");
// The label truncation only runs once the agent builds.
if let Err(error) = built {
+ eprintln!("BUILD-ERR {error:#}");
panic!("session agent must build: {error:#}");
}
}