From d053635015ddd94bb15efb4baa290a0eae4bb157 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Fri, 14 Jan 2022 08:42:55 -0500 Subject: [PATCH] add more info to registry failed to fetch error (#2940) (cherry picked from commit 1b9c0c0e1fae71fa03fe55e351164e5262a7abfd, PR#2940) --- src/Types.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Types.jl b/src/Types.jl index 62f217b46e..5f8c4fda7f 100644 --- a/src/Types.jl +++ b/src/Types.jl @@ -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