We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f44e13 commit d81e039Copy full SHA for d81e039
webapp/src/Controller/API/JudgehostController.php
@@ -288,7 +288,9 @@ public function updateJudgingAction(
288
): void {
289
$judgehost = $this->em->getRepository(Judgehost::class)->findOneBy(['hostname' => $hostname]);
290
if (!$judgehost) {
291
- throw new BadRequestHttpException("Who are you and why are you sending us any data?");
+ throw new BadRequestHttpException(
292
+ 'Register yourself first. You (' . $hostname . ') are not known to us yet.'
293
+ );
294
}
295
296
$judgingRun = $this->em->getRepository(JudgingRun::class)->findOneBy(['judgetaskid' => $judgetaskid]);
0 commit comments