Downgrade content-highlights mismatches to warnings, and add the course-key to the error message
This commit is contained in:
@@ -36,8 +36,9 @@ def course_has_highlights(course_key):
|
||||
)
|
||||
|
||||
if not highlights_are_available:
|
||||
log.error(
|
||||
"Course team enabled highlights and provided no highlights."
|
||||
log.warning(
|
||||
u"Course team enabled highlights and provided no highlights in %s",
|
||||
course_key
|
||||
)
|
||||
|
||||
return highlights_are_available
|
||||
|
||||
Reference in New Issue
Block a user