Skip to content
Snippets Groups Projects
Commit bf8a30d7 authored by Ben Patterson's avatar Ben Patterson
Browse files

bok-choy: Additional detail to assist when a course fixture error surfaces.

When receiving an error explained in TNL-3942, I found this kind of
instrumentation to be helpful.
parent 6d5047ef
No related merge requests found
......@@ -298,8 +298,8 @@ class CourseFixture(XBlockContainerFixture):
self._course_key = response.json()['course_key']
else:
raise FixtureError(
"Could not create course {0}. Status was {1}".format(
self._course_dict, response.status_code))
"Could not create course {0}. Status was {1}\nResponse content was: {2}".format(
self._course_dict, response.status_code, response.content))
def _configure_course(self):
"""
......
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