Skip to content

Commit

Permalink
Fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
Ram81 committed Aug 8, 2021
1 parent 0047994 commit 164a371
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/jobs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2837,7 +2837,9 @@ def update_submission_meta(request, challenge_pk, submission_pk):
participant_team=participant_team,
)
except Submission.DoesNotExist:
response_data = {"error": "Submission does not exist"}
response_data = {
"error": "Submission {} does not exist".format(submission_pk)
}
return Response(response_data, status=status.HTTP_404_NOT_FOUND)

serializer = SubmissionSerializer(
Expand Down

0 comments on commit 164a371

Please sign in to comment.