mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
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:
parent
c05bc6728d
commit
6796ba75a1
|
@ -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}.`,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue