From 1bf5075b80a0122f7f9caa6cf1edfe1072360f54 Mon Sep 17 00:00:00 2001 From: George Drummond Date: Wed, 22 May 2019 10:17:04 -0400 Subject: [PATCH] Record the email subject for notification logs --- atst/queue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atst/queue.py b/atst/queue.py index 3f2d3042..f519a55c 100644 --- a/atst/queue.py +++ b/atst/queue.py @@ -47,8 +47,8 @@ class ATSTQueue(RQ): @classmethod def _send_notification_mail(self, recipients, subject, body): app.logger.info( - "Sending a notification to these recipients: {}\n\n{}".format( - recipients, body + "Sending a notification to these recipients: {}\n\nSubject: {}\n\n{}".format( + recipients, subject, body ) ) app.mailer.send(recipients, subject, body)