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) {
|
||||
throw new ApplicationError('Failed to find execution data. Aborting execution.', {
|
||||
extra: { executionId, jobId: job.id },
|
||||
});
|
||||
throw new ApplicationError(
|
||||
`Worker failed to find execution data for execution ${executionId} (job ${job.id})`,
|
||||
{ extra: { executionId, jobId: job.id } },
|
||||
);
|
||||
}
|
||||
|
||||
const workflowId = execution.workflowData.id;
|
||||
|
@ -63,9 +64,10 @@ export class JobProcessor {
|
|||
});
|
||||
|
||||
if (workflowData === null) {
|
||||
throw new ApplicationError('Failed to find workflow', {
|
||||
extra: { workflowId, instanceType: 'worker' },
|
||||
});
|
||||
throw new ApplicationError(
|
||||
`Worker failed to find workflow ${workflowId} to run execution ${executionId}`,
|
||||
{ extra: { workflowId, instanceType: 'worker' } },
|
||||
);
|
||||
}
|
||||
|
||||
staticData = workflowData.staticData;
|
||||
|
|
Loading…
Reference in a new issue