Skip to content

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

fix(channels): log channel runtime command errors in tests

Steven Enamakel1d434774e09a
diff --git a/crates/openhuman-core/src/channels/routes.rs b/crates/openhuman-core/src/channels/routes.rs
index 01101e4bf3..7d9675e8fa 100644
--- a/crates/openhuman-core/src/channels/routes.rs
+++ b/crates/openhuman-core/src/channels/routes.rs
@@ -244,7 +244,9 @@ pub(crate) async fn handle_runtime_command_if_needed(
crate::modules::report::malformed_reply("tinychannels");
return true;
}
- Err(_) => {
+ Err(error) => {
+ #[cfg(test)]
+ eprintln!("channel runtime command failed: {error:?}");
if let Some(channel) = target_channel {
let _ = channel
.send_typed(&text_message(