Skip to content

Commit

Permalink
Use Course ID in logging an exception
Browse files Browse the repository at this point in the history
TNL-4115
  • Loading branch information
awaisdar001 committed Feb 10, 2016
1 parent ccbd88a commit e9de64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/courseware/courses.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def get_course_info_section(request, user, course, section_key):
html = render_to_string('courseware/error-message.html', None)
log.exception(
u"Error rendering course=%s, section_key=%s",
course, section_key
unicode(course.id), section_key
)

return html
Expand Down

0 comments on commit e9de64c

Please sign in to comment.