-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not overshadow errors thrown by DescribeLogGroups. (#68)
If DescribeLogGroups throws an error (e.g. AccessDeniedException), the retry logic will still call DescribeLogStreams, which will also fail, either with AccessDeniedException, or, more confusingly, with "The specified log group does not exist." if the log group has never been created. This change makes sure that the original error is thrown.
- Loading branch information
Showing
2 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters