Skip to content
Snippets Groups Projects
Commit a2030021 authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Fixed bug with embb url target returning strange error message.

parent d077581a
No related branches found
No related tags found
No related merge requests found
......@@ -868,7 +868,7 @@ class EMBBEventLogList(APIView):
try:
eel = create_eel(request.DATA, event, request.user)
except ValueError, e:
return Response("str(e)", status=status.HTTP_400_BAD_REQUEST)
return Response("%s" % str(e), status=status.HTTP_400_BAD_REQUEST)
except IntegrityError, e:
return Response("Failed to save EMBB entry: %s" % str(e),
status=status.HTTP_503_SERVICE_UNAVAILABLE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment