add debug statement to failing to if-branch

This commit is contained in:
ClaraCrazy 2024-12-03 08:00:13 +01:00
parent 367c4a688b
commit e158fac414
No known key found for this signature in database
GPG key ID: EBBC896ACB497011

View file

@ -29,6 +29,8 @@ class MailRepository {
add(to, mailSummary) {
if (to !== undefined) {
this.mailSummaries.set(to.toLowerCase(), mailSummary)
} else {
debug('IMAP reported no recipient for mail, ignoring', mailSummary)
}
}