Skip to content

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

fix(channels): use worker crash message for join errors

Steven Enamakelf750455243f3
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs b/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs
index aafb299c75..1ded4ba5f5 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs
@@ -11,7 +11,7 @@ pub(super) use tinychannels::runtime::select_acknowledgment_reaction;
pub(super) fn log_worker_join_result(result: Result<(), tokio::task::JoinError>) {
if let Err(error) = result {
- tracing::warn!("channel worker failed: {error}");
+ tracing::warn!("{}", traits::context::worker_crash_message(&error));
}
}