Changed log.exception to log.warning

This commit is contained in:
Will Daly
2013-03-27 16:34:08 -04:00
parent df1be87739
commit f038237ee9
2 changed files with 2 additions and 2 deletions

View File

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

View File

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