mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
🐛 Fix issue with subworkflows running on main process (#1557)
This commit is contained in:
@@ -625,6 +625,7 @@ export async function executeWorkflow(workflowInfo: IExecuteWorkflowInfo, additi
|
|||||||
return returnData!.data!.main;
|
return returnData!.data!.main;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
await ActiveExecutions.getInstance().remove(executionId, data);
|
||||||
// Workflow did fail
|
// Workflow did fail
|
||||||
const error = new Error(data.data.resultData.error!.message);
|
const error = new Error(data.data.resultData.error!.message);
|
||||||
error.stack = data.data.resultData.error!.stack;
|
error.stack = data.data.resultData.error!.stack;
|
||||||
|
|||||||
Reference in New Issue
Block a user