From ee1ee26c4974fa7adc0af67736aeb8fbf4e0bfbe Mon Sep 17 00:00:00 2001 From: Arthur Barrett Date: Sat, 11 May 2013 13:57:07 -0400 Subject: [PATCH] log the course_id when notes are disabled --- lms/djangoapps/notes/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/notes/api.py b/lms/djangoapps/notes/api.py index 43ba1bc92c..fd749b6cae 100644 --- a/lms/djangoapps/notes/api.py +++ b/lms/djangoapps/notes/api.py @@ -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