mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Add once for each item support for JS task runner (no-changelog) (#11109)
This commit is contained in:
@@ -11,7 +11,7 @@ export class ExecutionError extends ApplicationError {
|
||||
|
||||
lineNumber: number | undefined = undefined;
|
||||
|
||||
constructor(error: Error & { stack: string }, itemIndex?: number) {
|
||||
constructor(error: Error & { stack?: string }, itemIndex?: number) {
|
||||
super(error.message);
|
||||
this.itemIndex = itemIndex;
|
||||
|
||||
@@ -19,7 +19,7 @@ export class ExecutionError extends ApplicationError {
|
||||
this.context = { itemIndex: this.itemIndex };
|
||||
}
|
||||
|
||||
this.stack = error.stack;
|
||||
this.stack = error.stack ?? '';
|
||||
|
||||
this.populateFromStack();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user