Skip to content

Commit

Permalink
make invalid proxy_links non-fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenpi committed Jun 13, 2024
1 parent 329fa13 commit 9d325dc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/jobs/jobs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,11 @@ struct Job
isempty(uri.fragment),
)
if !all(checks)
throw(
JuliaHubError(
"Unable to parse 'proxy_link' JSON for job $jobname:\n$(proxy_link)"
),
)
@warn "Unable to parse 'proxy_link' JSON for job '$jobname': '$(proxy_link)'"
nothing
else
uri.host
end
uri.host
end
end
return new(
Expand Down

0 comments on commit 9d325dc

Please sign in to comment.