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

Fix 403 error message hints #437

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

andrew4699
Copy link
Contributor

Description

In a previous change I took a stab at transforming some cloud-provider-specific 403s into Polaris 403s. I don't think the hints were fully accurate as I'm seeing AWS errors that don't mention "access denied". Rather than trying to chase down the exact error messages per cloud provider, I went with reasonable catch-alls. We still only apply this to cloud-provider-specific exception types such as S3Exception so this should be fine.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Existing unit tests

Checklist:

  • I have performed a self-review of my code
  • [X I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • If adding new functionality, I have discussed my implementation with the community using the linked GitHub issue

Copy link
Contributor

@eric-maynard eric-maynard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one comment, although I am still hopeful that we can remove this check one day and check the exception types.

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