Skip to content

Commit

Permalink
feat: use edx support contact for review
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 committed Oct 23, 2023
1 parent 4d25319 commit 70ad8e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edx_exams/apps/core/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def send_attempt_status_email(attempt):

email_template = loader.get_template(email_template)
course_url = f'{settings.LEARNING_MICROFRONTEND_URL}/course/{exam.course_id}'
contact_url = exam.provider.tech_support_email
contact_url = f'{settings.LMS_ROOT_URL}/support/contact_us'

email_subject = f'Proctored exam {exam.exam_name} for user {attempt.user.username}'
body = email_template.render({
Expand All @@ -54,7 +54,7 @@ def send_attempt_status_email(attempt):

try:
email.send()
except Exception as err: # pylint: disable=broad-except
except Exception as err: # pylint: disable=broad-except
log.error(
'Error while sending proctoring status email for '
f'user_id {attempt.user.id}, exam_id {exam.id}: {err}'
Expand Down

0 comments on commit 70ad8e3

Please sign in to comment.