mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Unify failed and error execution status (no-changelog) (#8943)
This commit is contained in:
@@ -55,7 +55,7 @@ export async function createSuccessfulExecution(workflow: WorkflowEntity) {
|
||||
*/
|
||||
export async function createErrorExecution(workflow: WorkflowEntity) {
|
||||
return await createExecution(
|
||||
{ finished: false, stoppedAt: new Date(), status: 'failed' },
|
||||
{ finished: false, stoppedAt: new Date(), status: 'error' },
|
||||
workflow,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user