From 6d67c023113c3a1efc47d4224ef0e53dbe579e5f Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Wed, 23 Jun 2021 19:57:21 +0200 Subject: [PATCH] refactor --- email_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email_handler.py b/email_handler.py index 49f773c5..8944e515 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1700,7 +1700,7 @@ class MailHandler: ret = self._handle(envelope) return ret except Exception: - LOG.exception( + LOG.e( "email handling fail %s -> %s", envelope.mail_from, envelope.rcpt_tos,