From a6e8684afb09a038293817218178b88e72fb13d2 Mon Sep 17 00:00:00 2001 From: Son Nguyen Kim Date: Wed, 8 Sep 2021 11:25:53 +0200 Subject: [PATCH] add more debug info --- email_handler.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/email_handler.py b/email_handler.py index 177b1458..530a54a1 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1702,9 +1702,11 @@ def handle(envelope: Envelope) -> str: contact = Contact.get_by(reply_email=mail_from) if contact: LOG.e( - "email can't be sent from a reverse-alias alias:%s, contact email:%s", - contact.alias, + "email can't be sent from a reverse-alias:%s, contact email:%s, %s, %s", + contact.reply_email, contact.website_email, + contact.alias, + contact.user, ) return status.E203