Skip to content

Commit

Permalink
precompile: add retry message (#3578)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Aug 11, 2023
1 parent 78d809b commit 639e64a
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 @@ -1578,7 +1578,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 639e64a

Please sign in to comment.