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

Use 'exception' as extra detail field in problem responses everywhere. #986

Merged
merged 1 commit into from Aug 22, 2019

Conversation

bhearsum
Copy link
Contributor

While working on some things for the new UI I discovered that we've been inconsistent with how we return errors from the backend. In most places, we add an exception field to the response, while in some parts of the /releases API we add data. This patch fixes that, which means we don't need to support extra, unnecessary, error fields in the UI (https://github.com/mozilla-frontend-infra/balrog-ui/blob/44fa6af438aafc9bbb3dcc30023536432818c881/src/App.jsx#L38)

@bhearsum bhearsum self-assigned this Aug 21, 2019
@bhearsum bhearsum merged commit 8c6d243 into mozilla-releng:master Aug 22, 2019
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