Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: extract the AWS Error Type as a type instead of a string match #54

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

mgaeta
Copy link
Contributor

@mgaeta mgaeta commented Aug 27, 2024

Description

While executing hotfixes, we used string matching on error messages instead of explicitly matching on the error type.

This PR uses errors.As() to match incoming AWS errors.

@mgaeta mgaeta merged commit a726839 into main Aug 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants