Commit 0523533b by Chris Dodge

log exception as exception type, not string

parent f392a34c
...@@ -106,7 +106,7 @@ class ExamReviewCallback(APIView): ...@@ -106,7 +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)) log.exception(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