Skip to content

Commit

Permalink
don't swallow internal errors (#3987)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Aug 9, 2024
1 parent 9cb6d35 commit 1810b11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/API.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1563,6 +1563,7 @@ function precompile(ctx::Context, pkgs::Vector{PackageSpec}; internal_call::Bool
length(tasks) == 1 && notify(interrupted_or_done)
end
end
Base.errormonitor(task) # interrupts are handled separately so ok to watch for other errors like this
push!(tasks, task)
end
isempty(tasks) && notify(interrupted_or_done)
Expand Down

0 comments on commit 1810b11

Please sign in to comment.