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
Merge branch 'devin/1747994267-error-handling-improvements'
haxzie98f87520d6ec
diff --cc packages/core/src/errors/ComposioError.tsindex bafb8bf45,d2b08714c..f0ce7b750--- a/packages/core/src/errors/ComposioError.ts+++ b/packages/core/src/errors/ComposioError.ts@@@ -94,10 -94,11 +94,11 @@@ export class ComposioError extends Erro// Node.js by default shows all the properties of the error object, so we are doing it conditionallythis.definePropertyIfExists('statusCode', statusCode);this.definePropertyIfExists('cause', options.cause);-- const combinedStack = options.cause instanceof Error- ? ComposioError.combineStackTraces(options.cause.stack, this.stack)- : options.stack || this.stack;++ const combinedStack =+ options.cause instanceof Error+ ? ComposioError.combineStackTraces(options.cause.stack, this.stack)- : options.stack || this.stack;++ : (options.stack ?? this.stack);this.definePropertyIfExists('stack', combinedStack);if (options.meta && Object.keys(options.meta).length > 0) {