mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
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:
parent
3d5a485bcf
commit
3a776e0132
|
@ -1,6 +1,6 @@
|
|||
import { validate as jsonSchemaValidate } from 'jsonschema';
|
||||
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 { In } from 'typeorm';
|
||||
import { ActiveExecutions } from '@/ActiveExecutions';
|
||||
|
@ -311,7 +311,7 @@ export class ExecutionsService {
|
|||
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.`,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue