Skip to content

Commit 43d9992

Browse files
fix bad dict lookup in catch block
1 parent 9228d2f commit 43d9992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/precompilation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ function precompilepkgs(pkgs::Vector{String}=String[];
820820
close(std_pipe.in) # close pipe to end the std output monitor
821821
wait(t_monitor)
822822
if err isa ErrorException || (err isa ArgumentError && startswith(err.msg, "Invalid header in cache file"))
823-
failed_deps[pkg_config] = (strict || is_direct_dep) ? string(sprint(showerror, err), "\n", strip(get(std_outputs, pkg, ""))) : ""
823+
failed_deps[pkg_config] = (strict || is_direct_dep) ? string(sprint(showerror, err), "\n", strip(get(std_outputs, pkg_config, ""))) : ""
824824
delete!(std_outputs, pkg_config) # so it's not shown as warnings, given error report
825825
!fancyprint && lock(print_lock) do
826826
println(io, " "^9, color_string("", Base.error_color()), name)

0 commit comments

Comments
 (0)