Skip to content

Commit

Permalink
fix: logger
Browse files Browse the repository at this point in the history
  • Loading branch information
genzyy committed Nov 12, 2023
1 parent 6e00af7 commit 0557d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queues/email/email.queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ EmailWorker.on('completed', (job: Job<Email>) => {
});

EmailWorker.on('failed', (job: Job<Email> | undefined, error) => {
logger.info(`Sending email failed to ${job?.data.recipient} with error ${error}`);
logger.warn(`Sending email failed to ${job?.data.recipient} with error ${error}`);
captureException(error, {
recipient: job?.data.recipient,
jobName: job?.name,
Expand Down

0 comments on commit 0557d53

Please sign in to comment.