forked from toolshed/abra
fix: improve error message
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user