diff --git a/src/mailer/engine.py b/src/mailer/engine.py index 56b36c1..a5ee03d 100644 --- a/src/mailer/engine.py +++ b/src/mailer/engine.py @@ -133,7 +133,7 @@ def handle_delivery_exception(connection, message, exc): smtplib.SMTPSenderRefused, socket_error)): message.defer() - logger.info("message deferred due to failure: %s" % exc) + logger.error("message deferred due to failure: %s" % exc) MessageLog.objects.log(message, RESULT_FAILURE, log_message=str(exc)) connection = None # i.e. enforce creation of a new connection