add more debug info

This commit is contained in:
Son Nguyen Kim 2021-09-08 11:25:53 +02:00
parent 201eb3b9b9
commit a6e8684afb
1 changed files with 4 additions and 2 deletions

View File

@ -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