From 0c25ed939f49b2128a457dc4d29c133e19878f19 Mon Sep 17 00:00:00 2001 From: Son Date: Wed, 5 Jan 2022 17:43:11 +0100 Subject: [PATCH] fix logging --- email_handler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/email_handler.py b/email_handler.py index 25c21ed7..66c495d1 100644 --- a/email_handler.py +++ b/email_handler.py @@ -2240,9 +2240,8 @@ def handle(envelope: Envelope) -> str: if len(rcpt_tos) == 1 and is_reverse_alias(rcpt_tos[0]) and mail_from == "<>": contact = Contact.get_by(reply_email=rcpt_tos[0]) LOG.w( - "out-of-office email to reverse alias %s. %s %s", + "out-of-office email to reverse alias %s. Saved to %s", contact, - msg.as_string(), save_email_for_debugging(msg), # todo: remove ) return status.E206