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

api: return parse errors if any for storage endpoints #12338

Merged
merged 4 commits into from
Aug 17, 2021
Merged

Conversation

jasonodonnell
Copy link
Contributor

I think this is returning the wrong error, which could result in an empty error being returned from Vault. If parsing the response body fails in some way not defined in the switch/case, we should return the error to the user.

@vercel vercel bot temporarily deployed to Preview – vault August 17, 2021 16:22 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 17, 2021 16:22 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 17, 2021 16:26 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 17, 2021 16:26 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 17, 2021 16:27 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 17, 2021 16:27 Inactive
@jasonodonnell jasonodonnell changed the title api/list: return parse errors if any for storage list api: return parse errors if any for storage endpoints Aug 17, 2021
@jasonodonnell jasonodonnell merged commit 5e505ec into main Aug 17, 2021
@jasonodonnell jasonodonnell deleted the parse-err branch August 17, 2021 17:19
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