From cdea0e08ced531d27fa8ad559cc87926d460863f Mon Sep 17 00:00:00 2001 From: Son NK Date: Mon, 9 Mar 2020 08:45:16 +0100 Subject: [PATCH] improve logging --- email_handler.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/email_handler.py b/email_handler.py index 8bd95121..4f785bf5 100644 --- a/email_handler.py +++ b/email_handler.py @@ -368,10 +368,7 @@ def handle_reply(envelope, smtp: SMTP, msg: Message, rcpt_to: str) -> str: # the "reply email" if envelope.mail_from == "<>": LOG.error( - "Bounce when sending to alias %s, user %s, from header: %s", - alias, - gen_email.user, - msg["From"], + "Bounce when sending to alias %s, user %s", alias, gen_email.user, ) handle_bounce(