mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08:00
refactor(core): Report potentially unused job processor branch (#11298)
This commit is contained in:
parent
643d66c0ae
commit
44f95160fb
|
@ -1,7 +1,12 @@
|
|||
import type { RunningJobSummary } from '@n8n/api-types';
|
||||
import { InstanceSettings, WorkflowExecute } from 'n8n-core';
|
||||
import { BINARY_ENCODING, ApplicationError, Workflow } from 'n8n-workflow';
|
||||
import type { ExecutionStatus, IExecuteResponsePromiseData, IRun } from 'n8n-workflow';
|
||||
import {
|
||||
BINARY_ENCODING,
|
||||
ApplicationError,
|
||||
Workflow,
|
||||
ErrorReporterProxy as ErrorReporter,
|
||||
} from 'n8n-workflow';
|
||||
import type PCancelable from 'p-cancelable';
|
||||
import { Service } from 'typedi';
|
||||
|
||||
|
@ -143,6 +148,7 @@ export class JobProcessor {
|
|||
workflowExecute = new WorkflowExecute(additionalData, execution.mode, execution.data);
|
||||
workflowRun = workflowExecute.processRunExecutionData(workflow);
|
||||
} else {
|
||||
ErrorReporter.info(`Worker found execution ${executionId} without data`);
|
||||
// Execute all nodes
|
||||
// Can execute without webhook so go on
|
||||
workflowExecute = new WorkflowExecute(additionalData, execution.mode);
|
||||
|
|
Loading…
Reference in a new issue