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

Displaying error messages from API #141

Open
ghost opened this issue May 20, 2022 · 0 comments
Open

Displaying error messages from API #141

ghost opened this issue May 20, 2022 · 0 comments
Labels
api In relation to project api bug Something isn't working help wanted Extra attention is needed

Comments

@ghost
Copy link

ghost commented May 20, 2022

The message passed back from the API is not what is provided by the API.

Example: api

return response.json(404, {message: "Publication not found" });

What is actually given

{message: '404 Not Found'}
@ghost ghost added bug Something isn't working api In relation to project api help wanted Extra attention is needed labels May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api In relation to project api bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

0 participants