mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
Clearer wording
This commit is contained in:
parent
83b9e69ece
commit
a9c66460b2
|
@ -41,9 +41,10 @@ export class JobProcessor {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!execution) {
|
if (!execution) {
|
||||||
throw new ApplicationError('Failed to find execution data. Aborting execution.', {
|
throw new ApplicationError(
|
||||||
extra: { executionId, jobId: job.id },
|
`Worker failed to find execution data for execution ${executionId} (job ${job.id})`,
|
||||||
});
|
{ extra: { executionId, jobId: job.id } },
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const workflowId = execution.workflowData.id;
|
const workflowId = execution.workflowData.id;
|
||||||
|
@ -63,9 +64,10 @@ export class JobProcessor {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (workflowData === null) {
|
if (workflowData === null) {
|
||||||
throw new ApplicationError('Failed to find workflow', {
|
throw new ApplicationError(
|
||||||
extra: { workflowId, instanceType: 'worker' },
|
`Worker failed to find workflow ${workflowId} to run execution ${executionId}`,
|
||||||
});
|
{ extra: { workflowId, instanceType: 'worker' } },
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
staticData = workflowData.staticData;
|
staticData = workflowData.staticData;
|
||||||
|
|
Loading…
Reference in a new issue