mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: Correctly save executions that failed when polling as error instead of new (#6192)
This commit is contained in:
parent
7d1d1f7872
commit
06948b5ba5
|
@ -191,7 +191,7 @@ export async function createErrorExecution(
|
||||||
workflowData,
|
workflowData,
|
||||||
workflowId: workflow.id,
|
workflowId: workflow.id,
|
||||||
stoppedAt: new Date(),
|
stoppedAt: new Date(),
|
||||||
status: 'new',
|
status: 'error',
|
||||||
};
|
};
|
||||||
|
|
||||||
const execution = ResponseHelper.flattenExecutionData(fullExecutionData);
|
const execution = ResponseHelper.flattenExecutionData(fullExecutionData);
|
||||||
|
|
Loading…
Reference in a new issue