Closed jamesmbourne closed 6 months ago
CLA Assistant Lite bot CLA CHECK All Contributors have signed the CLA
I have read the CLA Document and I hereby sign the CLA
Code Climate has analyzed commit 5b4cfea3 and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (80% is the threshold).
This pull request will bring the total coverage in the repository to 98.3% (0.0% change).
View more on Code Climate.
Resolves #473
Description:
AWS surfaces a
CredentialsProviderError
when credentials could not be loaded from any providers, SQS Consumer doesn't currently handle this.Type of change:
Why is this change required?: Handle error thrown by AWS SDK for JavaScript v3 which should be treated as an authentication failure.
Code changes:
isConnectionError
function will returntrue
when passed aCredentialsProviderError
Checklist: