The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(channels): log warnings when compiled module reply steps fail
Steven Enamakel5c692d0a912d
diff --git a/crates/openhuman-core/src/channels/runtime/startup/module_providers.rs b/crates/openhuman-core/src/channels/runtime/startup/module_providers.rsindex b8136b818b..e13281ec15 100644--- a/crates/openhuman-core/src/channels/runtime/startup/module_providers.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/module_providers.rs@@ -553,15 +553,17 @@ impl ModuleChannel {),).await- .map_err(anyhow::Error::new)?;- if let Some(relay) = self.relay.as_ref().filter(|_| self.relay_fronted) {+ .map_err(|error| {+ tracing::warn!("channel reply preparation failed in the compiled module");+ anyhow::Error::new(error)+ })?;+ let delivery = if let Some(relay) = self.relay.as_ref().filter(|_| self.relay_fronted) {self.object.call_confidential::<tinychannels_bus::controllers::ChannelSendMessageResult>(tinychannels_bus::methods::SEND_RELAY_INTENT,(relay.clone(), prepared.intent),).await- .map_err(anyhow::Error::new)?;} else {self.object.call_confidential::<tinychannels_bus::controllers::ChannelSendMessageResult>(@@ -569,8 +571,11 @@ impl ModuleChannel {(self.name.clone(), prepared.intent),).await- .map_err(anyhow::Error::new)?;};+ delivery.map_err(|error| {+ tracing::warn!("channel reply delivery failed in the compiled module");+ anyhow::Error::new(error)+ })?;Ok(())}