forked from openedx/openedx-platform
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
A missing CourseOverview should not crash the dashboard page. The error should be clearly logged, but the learner should still be able to load their dashboard.
Sentry Issue: OPENEDX-RESIDENTIAL-44A
CourseOverview.DoesNotExist:
(14 additional frame(s) were not displayed)
...
File "main.html.py", line 325, in render_body
__M_writer(filters.decode.utf8(self.body()))
File "dashboard.html.py", line 225, in render_body
course_overview = CourseOverview.get_from_id(enrollment.course_id)
File "openedx/core/lib/cache_utils.py", line 74, in decorator
result = wrapped(*args, **kwargs)
File "openedx/core/djangoapps/content/course_overviews/models.py", line 401, in get_from_id
return course_overview or cls.load_from_module_store(course_id)
File "openedx/core/djangoapps/content/course_overviews/models.py", line 343, in load_from_module_store
raise cls.DoesNotExist()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels