Commit 49f20a32 by Muzaffar yousaf Committed by GitHub

Merge pull request #15042 from edx/mrehan/courseoverview-broader-for-prod-clone

EDUCATOR-218 – Add logging
parents d39a18b1 9db1b9cc
......@@ -236,6 +236,13 @@ class CourseOverview(TimeStampedModel):
# to save a duplicate.
# (see: https://openedx.atlassian.net/browse/TNL-2854).
pass
except Exception: # pylint: disable=broad-except
log.exception(
"CourseOverview for course %s failed!",
course_id,
)
raise
return course_overview
elif course is not None:
raise IOError(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment