From 52452a7c8db23c75dd8bded1074d6828fd01b174 Mon Sep 17 00:00:00 2001 From: ClaraCrazy Date: Wed, 2 Oct 2024 02:59:34 +0200 Subject: [PATCH] announce non-example info in debug-only --- domain/mail-repository.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain/mail-repository.js b/domain/mail-repository.js index def5fcf..9beed61 100644 --- a/domain/mail-repository.js +++ b/domain/mail-repository.js @@ -15,7 +15,7 @@ class MailRepository { mails.forEach(mail => { if (mail.to == this.config.http.examples.email && !this.config.http.examples.uids.includes(parseInt(mail.uid))) { mails = mails.filter(m => m.uid != mail.uid) - console.log('prevent non-example email from being shown', mail.uid) + debug('prevented non-example email from being shown in example inbox', mail.uid) } }) return _.orderBy(mails, mail => Date.parse(mail.date), ['desc'])