Merge pull request #17355 from edx/learner-analytics-handle-all-comment-client-errors

More complete try/catch for the User Profile request in the Learner Analytics View
This commit is contained in:
Robert Raposa
2018-01-30 14:47:38 -05:00
committed by GitHub

View File

@@ -194,7 +194,7 @@ class LearnerAnalyticsView(View):
"""
try:
context = create_user_profile_context(request, course_key, request.user.id)
except CommentClient500Error:
except Exception as e:
# TODO: LEARNER-3854: Clean-up error handling if continuing support.
return {
'content_authored': 0,