Skip to content

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

fix(channels): log inbound preparation errors in tests

Steven Enamakeld2d5d09f30ae
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs b/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs
index deb22f8511..d0835e9dcf 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs
@@ -77,6 +77,8 @@ pub(crate) async fn process_channel_runtime_message(
{
Ok(prepared) => prepared,
Err(error) => {
+ #[cfg(test)]
+ eprintln!("channel inbound preparation failed: {error:?}");
tracing::warn!("[dispatch] channel preparation failed: {error}");
return;
}