mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Fix canceled execution status (#6142)
This commit is contained in:
committed by
GitHub
parent
06fa6f1fb3
commit
839a56a682
@@ -472,6 +472,8 @@ process.on('message', async (message: IProcessMessage) => {
|
||||
? new WorkflowOperationError('Workflow execution timed out!')
|
||||
: new WorkflowOperationError('Workflow-Execution has been canceled!');
|
||||
|
||||
runData.status = message.type === 'timeout' ? 'failed' : 'canceled';
|
||||
|
||||
// If there is any data send it to parent process, if execution timedout add the error
|
||||
await workflowRunner.workflowExecute.processSuccessExecution(
|
||||
workflowRunner.startedAt,
|
||||
|
||||
Reference in New Issue
Block a user