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(api): visible and better error when fetching secrets 404s #5277

Merged
merged 1 commit into from Oct 20, 2023

Conversation

eysi09
Copy link
Collaborator

@eysi09 eysi09 commented Oct 19, 2023

What this PR does / why we need it:

Before this fix, 404 errors that happened when fetching secrets were logged at a debug level and not visible to users.

This fixes that and improves the error message.

Related to #5275 because fixing that will reduce the chance of this error surfacing in the first place.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@eysi09 eysi09 force-pushed the better-404-errors-for-secrets branch from 34049f7 to b4d43fd Compare October 20, 2023 07:34
@eysi09 eysi09 marked this pull request as ready for review October 20, 2023 07:35
@eysi09 eysi09 force-pushed the better-404-errors-for-secrets branch from b4d43fd to 83e0992 Compare October 20, 2023 07:35
@eysi09 eysi09 requested a review from a team October 20, 2023 07:37
Copy link
Collaborator

@vvagaytsev vvagaytsev left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! 👍

@eysi09 eysi09 added this pull request to the merge queue Oct 20, 2023
Merged via the queue into main with commit 32fc4b5 Oct 20, 2023
42 checks passed
@eysi09 eysi09 deleted the better-404-errors-for-secrets branch October 20, 2023 09:40
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.

None yet

2 participants