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:
|
if not highlights_are_available:
|
||||||
log.error(
|
log.warning(
|
||||||
"Course team enabled highlights and provided no highlights."
|
u"Course team enabled highlights and provided no highlights in %s",
|
||||||
|
course_key
|
||||||
)
|
)
|
||||||
|
|
||||||
return highlights_are_available
|
return highlights_are_available
|
||||||
|
|||||||
Reference in New Issue
Block a user