refactor(core): Stop reporting to Sentry stopping execution with wrong status (no-changelog) (#7541)

https://n8nio.sentry.io/issues/4257040218/
This commit is contained in:
Iván Ovejero 2023-10-27 16:14:01 +02:00 committed by GitHub
parent c05bc6728d
commit 6796ba75a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ export class WaitTracker {
}
if (!['new', 'unknown', 'waiting', 'running'].includes(execution.status)) {
throw new Error(
throw new WorkflowOperationError(
`Only running or waiting executions can be stopped and ${executionId} is currently ${execution.status}.`,
);
}