From ed3c93744e3cdf68e34f15854b7a41ae74751544 Mon Sep 17 00:00:00 2001 From: Lucas Lopes Date: Wed, 1 Nov 2023 18:50:28 -0300 Subject: [PATCH] Adds more detail to error message when tach check fails --- pkg/images/checkImages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/images/checkImages.go b/pkg/images/checkImages.go index 3ee42a9b..9fe00bbe 100644 --- a/pkg/images/checkImages.go +++ b/pkg/images/checkImages.go @@ -104,7 +104,7 @@ func checkTag(namespace, repository, tag, token string) error { // Sends HEAD request to check if namespace/repository:tag exists err := rest.Head(url, token) if err != nil { - logrus.Errorf("failed to check tag %s/%s:%s", namespace, repository, tag) + logrus.Errorf("failed to check tag %s/%s:%s - %s", namespace, repository, tag, err.Error()) return err }