mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
improve logging
This commit is contained in:
parent
26613cdeeb
commit
157b7adbda
2 changed files with 2 additions and 3 deletions
|
@ -1612,8 +1612,8 @@ def handle_bounce(envelope, rcpt_to) -> str:
|
||||||
if content_type != "multipart/report" or envelope.mail_from != "<>":
|
if content_type != "multipart/report" or envelope.mail_from != "<>":
|
||||||
# forward the email again to the alias
|
# forward the email again to the alias
|
||||||
# todo: remove logging
|
# todo: remove logging
|
||||||
LOG.exception(
|
LOG.warning(
|
||||||
"Handle auto responder %s %s. Msg:\n%s",
|
"Handle autoreply %s %s. Msg:\n%s",
|
||||||
content_type,
|
content_type,
|
||||||
envelope.mail_from,
|
envelope.mail_from,
|
||||||
msg,
|
msg,
|
||||||
|
|
|
@ -29,7 +29,6 @@ def test_get_custom_domains(flask_client):
|
||||||
assert domain["creation_timestamp"]
|
assert domain["creation_timestamp"]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_get_custom_domain_trash(flask_client):
|
def test_get_custom_domain_trash(flask_client):
|
||||||
user = login(flask_client)
|
user = login(flask_client)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue