Commit 0523533b by Chris Dodge

log exception as exception type, not string

parent f392a34c
......@@ -106,7 +106,7 @@ class ExamReviewCallback(APIView):
try:
provider.on_review_callback(request.DATA)
except ProctoredBaseException, ex:
log.exception(unicode(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