From 0f26672e45d6aaf5dcf7e4a98abe373c6f638c7a Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Wed, 16 Feb 2022 13:52:11 +0100 Subject: [PATCH] cmd/osbuild-service-maintenance: Log aws error --- cmd/osbuild-service-maintenance/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/osbuild-service-maintenance/aws.go b/cmd/osbuild-service-maintenance/aws.go index 7c0f4bfc3..31231609b 100644 --- a/cmd/osbuild-service-maintenance/aws.go +++ b/cmd/osbuild-service-maintenance/aws.go @@ -62,7 +62,7 @@ func AWSCleanup(maxConcurrentRequests int, dryRun bool, accessKeyID, accessKey, err := a.RemoveSnapshotAndDeregisterImage(images[i]) if err != nil { - logrus.Errorf("Cleanup for image %s in region %s failed", *images[i].ImageId, region) + logrus.Errorf("Cleanup for image %s in region %s failed: %v", *images[i].ImageId, region, err) } }(index) }