Commit 6edee96c by Will Daly

Added "Staff Debug Info" prefix to traceback message.

parent 0f5e8c5f
......@@ -733,7 +733,7 @@ class CapaModule(CapaFields, XModule):
# the full exception, including traceback,
# in the response
if self.system.user_is_staff:
msg = traceback.format_exc()
msg = "Staff debug info: %s" % traceback.format_exc()
# Otherwise, display just an error message,
# without a stack trace
......
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