mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Do not show errors not processed by n8n (no-changelog) (#9598)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
export class ExecutionError extends Error {
|
||||
import { ApplicationError } from 'n8n-workflow';
|
||||
|
||||
export class ExecutionError extends ApplicationError {
|
||||
description: string | null = null;
|
||||
|
||||
itemIndex: number | undefined = undefined;
|
||||
@@ -10,7 +12,7 @@ export class ExecutionError extends Error {
|
||||
lineNumber: number | undefined = undefined;
|
||||
|
||||
constructor(error: Error & { stack: string }, itemIndex?: number) {
|
||||
super();
|
||||
super(error.message);
|
||||
this.itemIndex = itemIndex;
|
||||
|
||||
if (this.itemIndex !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user