Skip to content

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 errors

haxzie28c7b6900577
diff --git a/packages/core/src/errors/ValidationErrors.ts b/packages/core/src/errors/ValidationErrors.ts
index 83ad2f253..ca56a6b0d 100644
--- a/packages/core/src/errors/ValidationErrors.ts
+++ b/packages/core/src/errors/ValidationErrors.ts
@@ -34,13 +34,6 @@ export class ValidationError extends ComposioError {
issue => `[${issue.code}] ${issue.path.join('.')} - ${issue.message}`
);
- const cause =
- issues.length > 0
- ? issues.join('\n')
- : options.cause
- ? String(options.cause)
- : 'Validation failed';
-
super(message, {
...restOptions,
code: options.code || ValidationErrorCodes.VALIDATION_ERROR,