Commit f038237e by Will Daly

Changed log.exception to log.warning

parent df1be877
......@@ -454,7 +454,7 @@ def preview_dispatch(request, preview_id, location, dispatch=None):
raise Http404
except ProcessingError:
log.exception("Module raised an error while processing AJAX request")
log.warning("Module raised an error while processing AJAX request")
return HttpResponseBadRequest()
except:
......
......@@ -1236,7 +1236,7 @@ def sympy_check2():
# Log the error if we are debugging
msg = 'Error occurred while evaluating CustomResponse'
log.debug(msg, exc_info=True)
log.warning(msg, exc_info=True)
# Notify student with a student input error
_, _, traceback_obj = sys.exc_info()
......
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