refactor(core): Stop reporting to Sentry missing-node-on-retry error (no-changelog) (#7648)
https://n8nio.sentry.io/issues/4612370603
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { validate as jsonSchemaValidate } from 'jsonschema';
|
import { validate as jsonSchemaValidate } from 'jsonschema';
|
||||||
import type { IWorkflowBase, JsonObject, ExecutionStatus } from 'n8n-workflow';
|
import type { IWorkflowBase, JsonObject, ExecutionStatus } from 'n8n-workflow';
|
||||||
import { jsonParse, Workflow } from 'n8n-workflow';
|
import { jsonParse, Workflow, WorkflowOperationError } from 'n8n-workflow';
|
||||||
import type { FindOperator } from 'typeorm';
|
import type { FindOperator } from 'typeorm';
|
||||||
import { In } from 'typeorm';
|
import { In } from 'typeorm';
|
||||||
import { ActiveExecutions } from '@/ActiveExecutions';
|
import { ActiveExecutions } from '@/ActiveExecutions';
|
||||||
@@ -311,7 +311,7 @@ export class ExecutionsService {
|
|||||||
nodeName: stack.node.name,
|
nodeName: stack.node.name,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
throw new Error(
|
throw new WorkflowOperationError(
|
||||||
`Could not find the node "${stack.node.name}" in workflow. It probably got deleted or renamed. Without it the workflow can sadly not be retried.`,
|
`Could not find the node "${stack.node.name}" in workflow. It probably got deleted or renamed. Without it the workflow can sadly not be retried.`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user