diff --git a/email_handler.py b/email_handler.py index ce3f06e7..5838cad9 100644 --- a/email_handler.py +++ b/email_handler.py @@ -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, diff --git a/tests/api/test_custom_domain.py b/tests/api/test_custom_domain.py index 84e0e03f..0f8458bd 100644 --- a/tests/api/test_custom_domain.py +++ b/tests/api/test_custom_domain.py @@ -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)