Skip to content

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

chore(composio): add debug prints to connected integrations fetch

Steven Enamakela7a10e63da2b
diff --git a/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch.rs b/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch.rs
index 447311ac2b..86daa41528 100644
--- a/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch.rs
+++ b/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch.rs
@@ -152,6 +152,7 @@ fn fetch_connected_integrations_uncached(
Ok(crate::integrations::composio::client::ComposioRoute::Backend) => Mode::Backend,
Ok(crate::integrations::composio::client::ComposioRoute::Direct(_)) => Mode::Direct,
Err(error) => {
+ eprintln!("DBGC noclient {error}");
tracing::debug!(%error,
"[composio][integrations] no client (not signed in?)");
return None;
@@ -169,6 +170,7 @@ fn fetch_connected_integrations_uncached(
{
Ok(resp) => Some(to_prompt_integrations(resp)),
Err(error) => {
+ eprintln!("DBGC {error}");
tracing::warn!(?mode, %error,
"[composio][integrations] ListConnectedIntegrations failed");
None