Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
Fix connectedAccount parsing
haxziebb6989e6fae7
diff --git a/packages/core/src/models/ConnectedAccounts.ts b/packages/core/src/models/ConnectedAccounts.tsindex 6f569989f..bf0b44644 100644--- a/packages/core/src/models/ConnectedAccounts.ts+++ b/packages/core/src/models/ConnectedAccounts.ts@@ -22,6 +22,7 @@ import {import { ConnectionRequest } from './ConnectionRequest';import { ComposioConnectedAccountNotFoundError } from '../errors/ConnectedAccountsError';import { ValidationError } from '../errors/ValidationError';+import logger from '../utils/logger';/*** ConnectedAccounts class@@ -90,6 +91,7 @@ export class ConnectedAccounts {try {connectedAccount = await this.get(connectedAccountId);} catch (error) {+ logger.error(error);throw new ComposioConnectedAccountNotFoundError(`Unable to retrieve connected account with Id: ${connectedAccountId}`,{