Cleanup pt 2

This commit is contained in:
zandercymatics 2024-05-31 13:22:17 -06:00
parent be68c8f562
commit fb834824d6
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
4 changed files with 4 additions and 11 deletions

View file

@ -38,7 +38,7 @@ def send_templated_email(
"""
if flag_is_active(None, "disable_email_sending") and not settings.IS_PRODUCTION:
message = "Could not send email. Email sending is disabled due to switch 'disable_email_sending'."
message = "Could not send email. Email sending is disabled due to flag 'disable_email_sending'."
raise EmailSendingError(message)
template = get_template(template_name)