Browse Source

improve logging

Son NK 5 years ago
parent
commit
cdea0e08ce
1 changed files with 1 additions and 4 deletions
  1. 1 4
      email_handler.py

+ 1 - 4
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(