chore: added a new info log to course update email (#36067)
* chore: added a new info log to course update email * chore: added a new info log to course update email
This commit is contained in:
@@ -382,6 +382,13 @@ class CourseUpdateResolver(BinnedSchedulesBaseResolver):
|
||||
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
|
||||
|
||||
@@ -469,6 +476,13 @@ class CourseNextSectionUpdate(PrefixedDebugLoggerMixin, RecipientResolver):
|
||||
self.course_id
|
||||
)
|
||||
)
|
||||
LOG.info(
|
||||
'Sending email to user: {} for Self-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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user