Commit cd6f92c7 by Will Daly

Modified log.debug call to use exc_info=True

parent 1b07b85e
......@@ -1229,8 +1229,8 @@ def sympy_check2():
'''
# Log the error if we are debugging
msg = 'Error occurred while evaluating CustomResponse: %s' % str(err)
log.debug(msg)
msg = 'Error occurred while evaluating CustomResponse'
log.debug(msg, exc_info=True)
log.debug(traceback.format_exc())
# Notify student
......
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