Modified log.debug call to use exc_info=True

This commit is contained in:
Will Daly
2013-03-26 14:27:41 -04:00
parent 1b07b85ef2
commit cd6f92c7e2

View File

@@ -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