fix: Correct logging message to match function

The logging text was duplicated from a different function
This commit is contained in:
Matt Tuchfarber
2021-02-12 13:20:52 -05:00
parent 50dd1e8eca
commit 63a144dda7

View File

@@ -307,7 +307,7 @@ def award_course_certificate(self, username, course_run_key):
"""
def _retry_with_custom_exception(username, course_run_key, reason, countdown):
exception = MaxRetriesExceededError(
f"Failed to revoke program certificate for user {username} for course {course_run_key}. Reason: {reason}"
f"Failed to award course certificate for user {username} for course {course_run_key}. Reason: {reason}"
)
return self.retry(
exc=exception,