cmd/osbuild-service-maintenance: Log aws error
This commit is contained in:
parent
413a013b91
commit
0f26672e45
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue