Commit 9c48fbd8 authored by felix.herrmann's avatar felix.herrmann
Browse files

fix(mails): add error handling to send_update_email function

parent af02f78a
......@@ -119,11 +119,14 @@ def send_update_email(subject, message, email_to):
# message_html = render_to_string(
# "core/email.html", {"message": message, "subject": subject, "html": True, }
# )
send_mail(
subject_prefixed,
message_text,
email_from,
email_to,
fail_silently=False,
# html_message=message_html
)
try:
send_mail(
subject_prefixed,
message_text,
email_from,
email_to,
fail_silently=False,
# html_message=message_html
)
except Exception as e:
logger.error(e)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment