Skip to content

Commit

Permalink
chore(misc): revert changes to error messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Jun 3, 2024
1 parent 64dfce0 commit d93d253
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/nx/src/project-graph/error-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,7 @@ export class AggregateCreateNodesError extends Error {
public readonly errors: Array<[file: string | null, error: Error]>,
public readonly partialResults: Awaited<ReturnType<CreateNodesFunctionV2>>
) {
super(
[
'Failed to create nodes',
...errors.map(([file, e]) => ` - ${file}: ${e.message}`),
].join()
);
super('Failed to create nodes');
this.name = this.constructor.name;
}
}
Expand Down

0 comments on commit d93d253

Please sign in to comment.