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 c2b36f5 commit 285ec9fCopy full SHA for 285ec9f
webapp/src/Controller/API/JudgehostController.php
@@ -820,7 +820,9 @@ public function internalErrorAction(Request $request): ?int
820
$this->em->persist($error);
821
// Even if there are no remaining judge tasks for this judging open (which is covered by the transaction below),
822
// we need to mark this judging as internal error.
823
- $judging->setInternalError($error);
+ if ($judging) {
824
+ $judging->setInternalError($error);
825
+ }
826
$this->em->flush();
827
828
if ($field_name !== null) {
0 commit comments