Skip to content
Snippets Groups Projects
Unverified Commit 0d4a9a9e authored by Awais Jibran's avatar Awais Jibran Committed by GitHub
Browse files

Merge pull request #18744 from edx/aj/add-more-logging-in-load_from_module_store

Adding more logging
parents 4dc4fa93 e38957bd
No related merge requests found
......@@ -262,6 +262,11 @@ class CourseOverview(TimeStampedModel):
course.error_msg if isinstance(course, ErrorDescriptor) else unicode(course)
)
else:
log.exception(
"[Course Loading Error]: course_id: %s, course: %s",
unicode(course_id),
unicode(course),
)
raise cls.DoesNotExist()
@classmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment