Skip to content

Commit c62d13e

Browse files
fix bad dict lookup in catch block
1 parent 53711da commit c62d13e

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
@@ -822,7 +822,7 @@ function precompilepkgs(pkgs::Vector{String}=String[];
822822
close(std_pipe.in) # close pipe to end the std output monitor
823823
wait(t_monitor)
824824
if err isa ErrorException || (err isa ArgumentError && startswith(err.msg, "Invalid header in cache file"))
825-
failed_deps[pkg_config] = (strict || is_direct_dep) ? string(sprint(showerror, err), "\n", strip(get(std_outputs, pkg, ""))) : ""
825+
failed_deps[pkg_config] = (strict || is_direct_dep) ? string(sprint(showerror, err), "\n", strip(get(std_outputs, pkg_config, ""))) : ""
826826
delete!(std_outputs, pkg_config) # so it's not shown as warnings, given error report
827827
!fancyprint && lock(print_lock) do
828828
println(io, " "^9, color_string("", Base.error_color()), name)

0 commit comments

Comments
 (0)