We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33d0389 commit 9b68e64Copy full SHA for 9b68e64
1 file changed
packages/payload/src/queues/errors/handleWorkflowError.ts
@@ -51,7 +51,7 @@ export async function handleWorkflowError({
51
workflowConfig.retries === undefined || workflowConfig.retries === null
52
53
const { hasFinalError, maxWorkflowRetries, waitUntil } = hasNoRetriesConfigured
54
- ? { hasFinalError: true as const, maxWorkflowRetries: undefined, waitUntil: undefined }
+ ? { hasFinalError: true, maxWorkflowRetries: undefined, waitUntil: undefined }
55
: getWorkflowRetryBehavior({
56
job,
57
retriesConfig: workflowConfig.retries,
0 commit comments