Skip to content

Commit

Permalink
Fail when downloading/verifying the debug script fails
Browse files Browse the repository at this point in the history
In the past we would continue but crashing is probably the better option as this would either indicate connection errors between domserver & judgehost or even a problem on the judgehost itself.
  • Loading branch information
Michael Vasseur committed Oct 21, 2024
1 parent 0b2d981 commit b455297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions judge/judgedaemon.main.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,8 +840,8 @@ function fetch_executable_internal(
$run_config['hash']
);
if (isset($error)) {
// FIXME
continue;
$scriptId = $judgeTask['run_script_id'];
error("Retrieving/storing debug script '$scriptId' failed.");
}

$debug_cmd = implode(' ', array_map('dj_escapeshellarg',
Expand Down

0 comments on commit b455297

Please sign in to comment.