Skip to content

Commit e877b4d

Browse files
committed
prevent excessive queue config parsing errors
1 parent eba2e89 commit e877b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/v3/services/triggerTask.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ export class TriggerTaskService extends BaseService {
439439
return defaultQueueName;
440440
}
441441

442-
const queueConfig = QueueOptions.optional().safeParse(task.queueConfig);
442+
const queueConfig = QueueOptions.optional().nullable().safeParse(task.queueConfig);
443443

444444
if (!queueConfig.success) {
445445
console.log("Failed to get queue name: Invalid queue config", {

0 commit comments

Comments
 (0)