From 1e084f306e332c5e746aa512b39b6512c9a9c431 Mon Sep 17 00:00:00 2001 From: Son NK Date: Fri, 10 Jan 2020 18:23:37 +0100 Subject: [PATCH] log more info --- email_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/email_handler.py b/email_handler.py index 3b522653..d29a8063 100644 --- a/email_handler.py +++ b/email_handler.py @@ -256,9 +256,10 @@ class MailHandler: user_email = forward_email.gen_email.user.email if envelope.mail_from.lower() != user_email.lower(): LOG.error( - f"Reply email can only be used by user email. Actual mail_from: %s. User email %s", + f"Reply email can only be used by user email. Actual mail_from: %s. User email %s. reply_email %s", envelope.mail_from, user_email, + reply_email, ) send_email(