diff --git a/providers/aws/resources/aws_s3.go b/providers/aws/resources/aws_s3.go index 5d04e5671c..62e1cb6b69 100644 --- a/providers/aws/resources/aws_s3.go +++ b/providers/aws/resources/aws_s3.go @@ -73,10 +73,12 @@ func (a *mqlAwsS3) buckets() ([]interface{}, error) { Bucket: bucket.Name, }) if err != nil { - return nil, errors.Wrap(err, "Could not get bucket location") + log.Error().Err(err).Msg("Could not get bucket location") + continue } if location == nil { - return nil, errors.New("Could not get bucket location (returned null)") + log.Error().Err(err).Msg("Could not get bucket location (returned null)") + continue } region := string(location.LocationConstraint)