From c2f72c03bdaa055a25bc855e2cc0b7656dce9c99 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Fri, 11 Aug 2023 14:05:08 -0500 Subject: [PATCH] precompile: add retry message (#3578) (cherry picked from commit 639e64a0466203fb8ee9dd9aa70db71867d5fd94) --- src/API.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API.jl b/src/API.jl index 82411420c9..6c360838a4 100644 --- a/src/API.jl +++ b/src/API.jl @@ -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