mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
refactor(core): Track potentially unneeded inferral of execution status (no-changelog) (#9476)
This commit is contained in:
parent
fc83005ba0
commit
1cb6c12b4f
|
@ -9,6 +9,7 @@ import type {
|
|||
ExecutionStatus,
|
||||
} from 'n8n-workflow';
|
||||
import {
|
||||
ErrorReporterProxy as EventReporter,
|
||||
ApplicationError,
|
||||
ExecutionStatusList,
|
||||
Workflow,
|
||||
|
@ -106,6 +107,8 @@ export class ExecutionService {
|
|||
}
|
||||
|
||||
if (!execution.status) {
|
||||
const { data, workflowData, ...rest } = execution;
|
||||
EventReporter.info('Detected `null` execution status', { extra: { execution: rest } });
|
||||
execution.status = getStatusUsingPreviousExecutionStatusMethod(execution);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue