Commit f392a34c by Chris Dodge

be sure to log any exceptions when processing callbacks from software secure

parent 8a2fa5b6
...@@ -106,6 +106,7 @@ class ExamReviewCallback(APIView): ...@@ -106,6 +106,7 @@ class ExamReviewCallback(APIView):
try: try:
provider.on_review_callback(request.DATA) provider.on_review_callback(request.DATA)
except ProctoredBaseException, ex: except ProctoredBaseException, ex:
log.exception(unicode(ex))
return Response( return Response(
data={ data={
'reason': unicode(ex) '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