Skip to content

Commit

Permalink
fix: more expressive error
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Kutner <jpkutner@gmail.com>
Signed-off-by: nadworny <bartosz.nadworny@gmail.com>
Signed-off-by: Bartosz Nadworny <bartosz.nadworny@zurich.ch>
  • Loading branch information
nadworny and jkutner committed Apr 4, 2023
1 parent d51c8a0 commit 98156e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/registry/registry_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (r *Cache) CreateCache() error {
if r.url.Host == "dev.azure.com" {
err = exec.Command("git", "clone", r.url.String(), r.RegistryDir).Run()
if err != nil {
return errors.Wrap(err, "cloning remote registry")
return errors.Wrap(err, "cloning remote registry with native git")
}

repository, err = git.PlainOpen(r.RegistryDir)
Expand Down

0 comments on commit 98156e9

Please sign in to comment.