We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5c10ba commit 33d0389Copy full SHA for 33d0389
1 file changed
packages/payload/src/queues/errors/handleWorkflowError.ts
@@ -44,7 +44,9 @@ export async function handleWorkflowError({
44
stack: error.stack,
45
}
46
47
- // No retries configured => permanently fail.
+ // No retries configured => permanently fail. Errors reaching this handler are
48
+ // workflow-level (task errors are routed to handleTaskError first), so there's
49
+ // nothing else to bound them.
50
const hasNoRetriesConfigured =
51
workflowConfig.retries === undefined || workflowConfig.retries === null
52
0 commit comments