From 9a800fb18052d9c6d9e9e4a2512a9c1ca98f5158 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Wed, 4 Sep 2019 15:27:35 -0400 Subject: [PATCH] Downgrade content-highlights mismatches to warnings, and add the course-key to the error message --- openedx/core/djangoapps/schedules/content_highlights.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openedx/core/djangoapps/schedules/content_highlights.py b/openedx/core/djangoapps/schedules/content_highlights.py index c9f47fc2cf..0084197185 100644 --- a/openedx/core/djangoapps/schedules/content_highlights.py +++ b/openedx/core/djangoapps/schedules/content_highlights.py @@ -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