Commit ee1ee26c by Arthur Barrett

log the course_id when notes are disabled

parent a6ad65cb
......@@ -47,7 +47,7 @@ def api_request(request, course_id, **kwargs):
# Verify that the api should be accessible to this course
if not api_enabled(request, course_id):
log.debug('Notes not enabled for course')
log.debug('Notes are disabled for course: {0}'.format(course_id))
raise Http404
# Locate the requested resource
......
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