Removing this exception handling, that error should be caught above. (#749)
This commit is contained in:
parent
221851abc1
commit
81aff42e03
|
@ -24,9 +24,6 @@ def retry_throttled(exception):
|
||||||
if exception.response['Error']['Code'] == 'NoSuchEntity':
|
if exception.response['Error']['Code'] == 'NoSuchEntity':
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if isinstance(exception, botocore.errorfactory.NoSuchEntityException):
|
|
||||||
return False
|
|
||||||
|
|
||||||
metrics.send('iam_retry', 'counter', 1)
|
metrics.send('iam_retry', 'counter', 1)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue