(watch): occasionally throws "Error occurred while monitoring logs: ThrottlingException: Rate exceeded"
- Dominant language
- TypeScript
- Stars
- 105
- Forks
- 122
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 71
Description
### Describe the bug
Today, as I was developing something normally - I randomly got the following error in the CLI. This happened around 10 minutes after the terminal was "hanging" after a successful deploy of 3 stacks, deployed through the `cdk deploy '*-app' --require-approval=never` command

.
### Expected Behavior
No throttling errors
### Current Behavior
Throttling error in terminal
### Reproduction Steps
1. Run "cdk watch" normally.
2. Wait for the error to appear sporadically.
### Possible Solution
Reduce polling interval maybe? Or suppress the throttling error, since it doesn't actually impact the UX.
### Additional Information/Context
I've only encountered this once today. I've been using "cdk watch" for months and haven't seen this before.
### CDK CLI Version
2.16.0 (build 4c77925)
### Framework Version
_No response_
### Node.js Version
16.14.0
### OS
MacOS 12.3.1 Monterey
### Language
Typescript
### Language Version
4.5.5
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.