Bläddra i källkod

use warning level for SMTPRecipientsRefused error

Son NK 4 år sedan
förälder
incheckning
b7b4c07cd3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      email_handler.py

+ 1 - 1
email_handler.py

@@ -643,7 +643,7 @@ async def forward_email_to_mailbox(
         )
         )
     except SMTPRecipientsRefused:
     except SMTPRecipientsRefused:
         # that means the mailbox is maybe invalid
         # that means the mailbox is maybe invalid
-        LOG.exception(
+        LOG.warning(
             "SMTPRecipientsRefused forward phase %s -> %s -> %s",
             "SMTPRecipientsRefused forward phase %s -> %s -> %s",
             contact,
             contact,
             alias,
             alias,