Skip to content

Commit

Permalink
try removing the Value/Key catch this might be doing weird things
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Feb 20, 2020
1 parent c977459 commit 7ca94d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/amazon/s3_bucket.py
Expand Up @@ -450,8 +450,8 @@ def get_bucket_encryption(s3_client, bucket_name):
return None
else:
raise e
except (IndexError, KeyError):
return None
# except (IndexError, KeyError):
# return None


@AWSRetry.exponential_backoff(max_delay=120, catch_extra_error_codes=['NoSuchBucket'])
Expand Down

0 comments on commit 7ca94d2

Please sign in to comment.