Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent AWS credentials refresh from stopping on exception
If `aws_credentials()` fails due to an unstable network or other issues, it throws an exception. This stops `timer_execute()` from repeating its block, preventing `OpenSearchOutput` from updating `@_aws_credentials`. As a result, `@_aws_credentials` will expire. This commit catches the exception and prevents it from propagating to `timer_execute()`, ensuring continuous credential updates. Signed-off-by: Yuki Sekiguchi <[email protected]>
- Loading branch information