fix: improve error message

This commit is contained in:
2023-05-29 14:57:41 +02:00
parent 73250fb899
commit 6974681af5
2 changed files with 44 additions and 29 deletions

View File

@ -118,6 +118,7 @@ likely to change.
if err := iter.ForEach(func(ref *plumbing.Reference) error {
obj, err := repo.TagObject(ref.Hash())
if err != nil {
logrus.Fatal("Tag at commit ", ref.Hash(), " is unannotated or otherwise broken. Please fix it.")
return err
}