mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
fix logging
This commit is contained in:
parent
778c90a164
commit
0c25ed939f
@ -2240,9 +2240,8 @@ def handle(envelope: Envelope) -> str:
|
|||||||
if len(rcpt_tos) == 1 and is_reverse_alias(rcpt_tos[0]) and mail_from == "<>":
|
if len(rcpt_tos) == 1 and is_reverse_alias(rcpt_tos[0]) and mail_from == "<>":
|
||||||
contact = Contact.get_by(reply_email=rcpt_tos[0])
|
contact = Contact.get_by(reply_email=rcpt_tos[0])
|
||||||
LOG.w(
|
LOG.w(
|
||||||
"out-of-office email to reverse alias %s. %s %s",
|
"out-of-office email to reverse alias %s. Saved to %s",
|
||||||
contact,
|
contact,
|
||||||
msg.as_string(),
|
|
||||||
save_email_for_debugging(msg), # todo: remove
|
save_email_for_debugging(msg), # todo: remove
|
||||||
)
|
)
|
||||||
return status.E206
|
return status.E206
|
||||||
|
Loading…
Reference in New Issue
Block a user