improve logging

This commit is contained in:
Son NK 2021-03-08 12:11:47 +01:00
parent 26613cdeeb
commit 157b7adbda
2 changed files with 2 additions and 3 deletions

View File

@ -1612,8 +1612,8 @@ def handle_bounce(envelope, rcpt_to) -> str:
if content_type != "multipart/report" or envelope.mail_from != "<>":
# forward the email again to the alias
# todo: remove logging
LOG.exception(
"Handle auto responder %s %s. Msg:\n%s",
LOG.warning(
"Handle autoreply %s %s. Msg:\n%s",
content_type,
envelope.mail_from,
msg,

View File

@ -29,7 +29,6 @@ def test_get_custom_domains(flask_client):
assert domain["creation_timestamp"]
def test_get_custom_domain_trash(flask_client):
user = login(flask_client)