Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Fix connectedAccount parsing
haxzie committed
May 20, 2025 at 12:40 UTC
bb6989e6fae7e7221b9742dee9e5418cbe29bf5f
1 file changed
+2
packages/core/src/models/ConnectedAccounts.ts
+2
@@ -22,6 +22,7 @@ import {
22
import { ConnectionRequest } from './ConnectionRequest';
23
import { ComposioConnectedAccountNotFoundError } from '../errors/ConnectedAccountsError';
24
import { ValidationError } from '../errors/ValidationError';
25
+import logger from '../utils/logger';
26
27
/**
28
* ConnectedAccounts class
@@ -90,6 +91,7 @@ export class ConnectedAccounts {
91
try {
92
connectedAccount = await this.get(connectedAccountId);
93
} catch (error) {
94
+ logger.error(error);
95
throw new ComposioConnectedAccountNotFoundError(
96
`Unable to retrieve connected account with Id: ${connectedAccountId}`,
97
{