浏览代码

use warning level for SMTPRecipientsRefused error

Son NK 4 年之前
父节点
当前提交
b7b4c07cd3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      email_handler.py

+ 1 - 1
email_handler.py

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