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 20, 2024
1 parent 43a0454 commit 136028a
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 @@ -839,8 +839,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 136028a

Please sign in to comment.