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

Replace jsonError() with generalized content-type error function. #118

Open
JivanAmara opened this issue May 10, 2018 · 0 comments
Open
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@JivanAmara
Copy link
Collaborator

Right now, errors that are reported back to service users are always in json despite html support being added. This is easy to resolve, by replacing the handlers.go jsonError() with a function that takes a content type string as a parameter.

@JivanAmara JivanAmara added help wanted Extra attention is needed good first issue Good for newcomers labels May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant