Skip to content

Commit

Permalink
fix(core): Prevent NodeErrors from being wrapped multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Jan 11, 2024
1 parent dcc76f3 commit 4017355
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/workflow/src/errors/abstract/node.error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export abstract class NodeError extends ExecutionBaseError {
}

this.node = node;

if (error instanceof NodeError) return error;
}

/**
Expand Down

0 comments on commit 4017355

Please sign in to comment.