Skip to content
Snippets Groups Projects
Commit 821e2d06 authored by David Ormsbee's avatar David Ormsbee
Browse files

Merge pull request #1466 from MITx/feature/ichuang/fix-idashboard-error-message

Fix error message provided by Instructor dashboard datadump - make it more useful
parents 94a28f60 ad0d304e
No related merge requests found
......@@ -413,7 +413,7 @@ def instructor_dashboard(request, course_id):
smdat = StudentModule.objects.filter(course_id=course_id,
module_state_key=module_state_key)
smdat = smdat.order_by('student')
msg+="Found module to reset. "
msg += "Found %d records to dump " % len(smdat)
except Exception as err:
msg+="<font color='red'>Couldn't find module with that urlname. </font>"
msg += "<pre>%s</pre>" % escape(err)
......
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