Skip to content

Commit

Permalink
precompile: add retry message (#3578)
Browse files Browse the repository at this point in the history
(cherry picked from commit 639e64a)
  • Loading branch information
IanButterworth committed Aug 18, 2023
1 parent 3ece97c commit c2f72c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ function precompile(ctx::Context, pkgs::Vector{PackageSpec}; internal_call::Bool
if isinteractive() && !get(ENV, "CI", false)
plural1 = length(failed_deps) == 1 ? "y" : "ies"
println(io, " ", color_string("$(length(failed_deps))", Base.error_color()), " dependenc$(plural1) errored.")
println(io, " For a report of the errors see `julia> err`")
println(io, " For a report of the errors see `julia> err`. To retry use `pkg> precompile`")
setglobal!(Base.MainInclude, :err, PkgPrecompileError(err_msg))
else
# auto-precompilation shouldn't throw but if the user can't easily access the
Expand Down

0 comments on commit c2f72c0

Please sign in to comment.