Skip to content

Commit

Permalink
Add EC2ThrottledException to throttledError list (#3170)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Mar 20, 2020
1 parent f54279c commit 46b36d1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/feature-EC2-0ecd30a7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "feature",
"category": "EC2",
"description": "Add EC2ThrottledException to throttledError"
}
1 change: 1 addition & 0 deletions lib/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ AWS.Service = inherit({
case 'RequestThrottledException':
case 'TooManyRequestsException':
case 'TransactionInProgressException': //dynamodb
case 'EC2ThrottledException':
return true;
default:
return false;
Expand Down
4 changes: 4 additions & 0 deletions test/service.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 46b36d1

Please sign in to comment.