refactor(core): Stop reporting to Sentry non-execution of workflow with issues (#7533)

https://n8nio.sentry.io/issues/4578929841/
This commit is contained in:
Iván Ovejero 2023-10-27 10:09:23 +02:00 committed by GitHub
parent 9762705833
commit 07857e78a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -798,7 +798,7 @@ export class WorkflowExecute {
pinDataNodeNames, pinDataNodeNames,
}); });
if (workflowIssues !== null) { if (workflowIssues !== null) {
throw new Error( throw new WorkflowOperationError(
'The workflow has issues and can for that reason not be executed. Please fix them first.', 'The workflow has issues and can for that reason not be executed. Please fix them first.',
); );
} }