use warning level

This commit is contained in:
Son 2021-10-18 09:55:10 +02:00
parent 9f36f3e2a9
commit d6edd59450
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ def get_mailbox_bounce_info(bounce_report: Message) -> Optional[Message]:
# 5th is a child of 3rd that contains more info about the bounce
if i == 5:
if not part["content-transfer-encoding"]:
LOG.e("add missing content-transfer-encoding header")
LOG.w("add missing content-transfer-encoding header")
part["content-transfer-encoding"] = "7bit"
return part