Skip to content

Commit 3d3d641

Browse files
committed
Change exception as this is allowed to be retried
The BadRequest implies that the request should not be repeated but as this is most likely a temporary problem we should encourage agents to get back.
1 parent ee1a145 commit 3d3d641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/Jury/SubmissionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ public function teamOutputAction(Submission $submission, Contest $contest, Judgi
732732
throw new BadRequestHttpException('Integrity problem while fetching team output.');
733733
}
734734
if ($run->getOutput() === null) {
735-
throw new BadRequestHttpException('No team output available (yet).');
735+
throw new NotFoundHttpException('No team output available (yet).');
736736
}
737737

738738
$filename = sprintf('p%d.t%d.%s.run%d.team%d.out', $submission->getProblem()->getProbid(), $run->getTestcase()->getRank(),

0 commit comments

Comments
 (0)