diff --git a/AUTHORS b/AUTHORS index 79123b38d..7c85c61e3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -45,3 +45,4 @@ List of contributors, in chronological order: * Lorenzo Bolla (https://github.com/lbolla) * Benj Fassbind (https://github.com/randombenj) * Markus Muellner (https://github.com/mmianl) +* Samuel Mutel (https://github.com/smutel) diff --git a/cmd/publish_list.go b/cmd/publish_list.go index f28b52395..ae35ce701 100644 --- a/cmd/publish_list.go +++ b/cmd/publish_list.go @@ -35,6 +35,8 @@ func aptlyPublishListTxt(cmd *commander.Command, args []string) error { err = collectionFactory.PublishedRepoCollection().ForEach(func(repo *deb.PublishedRepo) error { e := collectionFactory.PublishedRepoCollection().LoadComplete(repo, collectionFactory) if e != nil { + fmt.Printf("Error found on one publish (prefix:%s / distribution:%s / component:%s\n)", + repo.StoragePrefix(), repo.Distribution, repo.Components()) return e } @@ -82,6 +84,8 @@ func aptlyPublishListJSON(cmd *commander.Command, args []string) error { err = context.NewCollectionFactory().PublishedRepoCollection().ForEach(func(repo *deb.PublishedRepo) error { e := context.NewCollectionFactory().PublishedRepoCollection().LoadComplete(repo, context.NewCollectionFactory()) if e != nil { + fmt.Printf("Error found on one publish (prefix:%s / distribution:%s / component:%s\n)", + repo.StoragePrefix(), repo.Distribution, repo.Components()) return e }