Skip to content

Commit 8c66ba3

Browse files
committed
Show the right error
1 parent 70a54dd commit 8c66ba3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/jobs/baseinstall.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ apt-get update; apt-get install -y yarnpkg
3434
yarnpkg install
3535
ls -atrl node_modules
3636
ls -atrl public
37+
ls -atrl public/mathjaxfonts
3738
cd ..
3839
section_end
3940

webapp/src/Service/DOMJudgeService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,7 @@ public function getScoreboardZip(
15691569
foreach ($assetMatches[1] as $file) {
15701570
$filepath = realpath($publicPath . '/' . $file);
15711571
if ($filepath === false) {
1572-
throw new BadRequestHttpException("Could not find (symlinked) file: " . $file . "with filepath: " . $filepath . " and " . $$publicPath);
1572+
throw new BadRequestHttpException("Could not find (symlinked) file: " . $file . " and " . $publicPath);
15731573
}
15741574
if (!str_starts_with($filepath, $publicPath) &&
15751575
!str_starts_with($filepath, $this->vendorDir)

0 commit comments

Comments
 (0)