mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
add more logging info
This commit is contained in:
parent
de9f994fe2
commit
e7c473c943
@ -2149,6 +2149,7 @@ def handle(envelope: Envelope) -> str:
|
||||
LOG.w("No such email log")
|
||||
return status.E512
|
||||
|
||||
# bounce by contact
|
||||
if is_bounce(envelope, msg):
|
||||
return handle_bounce(envelope, email_log, msg)
|
||||
elif is_automatic_out_of_office(msg):
|
||||
@ -2177,7 +2178,10 @@ def handle(envelope: Envelope) -> str:
|
||||
|
||||
else:
|
||||
LOG.e(
|
||||
"cannot handle email sent to reply VERP, saved at %s",
|
||||
"cannot handle email sent to reply VERP, %s -> %s (%s) saved at %s",
|
||||
email_log.alias,
|
||||
email_log.contact,
|
||||
email_log,
|
||||
save_email_for_debugging(msg),
|
||||
)
|
||||
return status.E410
|
||||
|
Loading…
Reference in New Issue
Block a user