Commit 71caf92c by chrisndodge

Merge pull request #44 from edx/cdodge/log-exception-on-callback

be sure to log any exceptions when processing callbacks from software…
parents 8a2fa5b6 0523533b
......@@ -106,6 +106,7 @@ class ExamReviewCallback(APIView):
try:
provider.on_review_callback(request.DATA)
except ProctoredBaseException, ex:
log.exception(ex)
return Response(
data={
'reason': unicode(ex)
......
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