Changed log.exception to log.warning
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user