Skip to content

Commit

Permalink
add more info to registry failed to fetch error (#2940)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1b9c0c0, PR#2940)
  • Loading branch information
IanButterworth authored and fredrikekre committed Mar 18, 2022
1 parent 656de5c commit d053635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ function update_registries(ctx::Context, regs::Vector{RegistrySpec} = collect_re
GitTools.fetch(ctx, repo; refspecs=["+refs/heads/$branch:refs/remotes/origin/$branch"])
catch e
e isa PkgError || rethrow()
push!(errors, (reg.path, "failed to fetch from repo"))
push!(errors, (reg.path, "failed to fetch from repo: $(e.msg)"))
@goto done
end
ff_succeeded = try
Expand Down

0 comments on commit d053635

Please sign in to comment.