From d93d253e154ccad651a77dda0268d2273dc07f54 Mon Sep 17 00:00:00 2001 From: Craigory Coppola Date: Mon, 3 Jun 2024 14:57:19 -0400 Subject: [PATCH] chore(misc): revert changes to error messaging --- packages/nx/src/project-graph/error-types.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/nx/src/project-graph/error-types.ts b/packages/nx/src/project-graph/error-types.ts index 1d86fae1cba11a..9cda2cf0230b92 100644 --- a/packages/nx/src/project-graph/error-types.ts +++ b/packages/nx/src/project-graph/error-types.ts @@ -224,12 +224,7 @@ export class AggregateCreateNodesError extends Error { public readonly errors: Array<[file: string | null, error: Error]>, public readonly partialResults: Awaited> ) { - super( - [ - 'Failed to create nodes', - ...errors.map(([file, e]) => ` - ${file}: ${e.message}`), - ].join() - ); + super('Failed to create nodes'); this.name = this.constructor.name; } }