Record the email subject for notification logs
This commit is contained in:
parent
8801dc86a6
commit
1bf5075b80
@ -47,8 +47,8 @@ class ATSTQueue(RQ):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def _send_notification_mail(self, recipients, subject, body):
|
def _send_notification_mail(self, recipients, subject, body):
|
||||||
app.logger.info(
|
app.logger.info(
|
||||||
"Sending a notification to these recipients: {}\n\n{}".format(
|
"Sending a notification to these recipients: {}\n\nSubject: {}\n\n{}".format(
|
||||||
recipients, body
|
recipients, subject, body
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
app.mailer.send(recipients, subject, body)
|
app.mailer.send(recipients, subject, body)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user