Skip to content

Commit

Permalink
chore: added a new info log to course update email
Browse files Browse the repository at this point in the history
  • Loading branch information
eemaanamir committed Jan 1, 2025
1 parent cf64303 commit d0c1019
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion openedx/core/djangoapps/schedules/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,13 @@ def send(self, msg_type):
language,
context,
)
LOG.info(
'Sending email to user: {} for Instructor-paced course with course-key: {} and language: {}'.format(
user.username,
self.course_id,
language
)
)
with function_trace('enqueue_send_task'):
self.async_send_task.apply_async((self.site.id, str(msg)), retry=False) # pylint: disable=no-member

Expand Down Expand Up @@ -470,7 +477,7 @@ def send(self): # lint-amnesty, pylint: disable=arguments-differ
)
)
LOG.info(
'Sending email to user: {} for course-key: {} with the language: {}'.format(
'Sending email to user: {} for Self-paced course with course-key: {} and language: {}'.format(
user.username,
self.course_id,
language
Expand Down

0 comments on commit d0c1019

Please sign in to comment.