소스 검색

use warning level for SMTPRecipientsRefused error

Son NK 5 년 전
부모
커밋
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,