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:
@@ -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}.`,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user