Skip to content

Commit

Permalink
Failing jobs shouldn’t log as an error
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam committed May 15, 2024
1 parent 2496917 commit a73dc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/webapp/app/platform/zodWorker.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ export class ZodWorker<TMessageCatalog extends MessageCatalogSchema> {
}

if (job.attempts >= job.max_attempts) {
logger.error("Job failed after max attempts", {
logger.debug("Job failed after max attempts", {
job,
attempts: job.attempts,
max_attempts: job.max_attempts,
Expand Down

0 comments on commit a73dc80

Please sign in to comment.