fix(core): Account for retry of execution aborted by pre-execute hook (#9474)

This commit is contained in:
Iván Ovejero
2024-05-22 15:22:07 +02:00
committed by GitHub
parent 3094f1b886
commit a217866cef
4 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
import { ApplicationError } from 'n8n-workflow';
export class AbortedExecutionRetryError extends ApplicationError {
constructor() {
super('The execution was aborted before starting, so it cannot be retried', {
level: 'warning',
});
}
}