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 resource name in 404 errors #19

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

franky47
Copy link
Contributor

@franky47 franky47 commented Mar 20, 2021

This should help debug errors on the client side and display better error messages.

Example:

- Not Found: resource 123 not found
+ Not Found: user 123 not found

Note: this may require some tweaking due to the pluralisation of resourceName.

This should help debug errors on the client side and display
better error messages.

Eg:
```diff
- Not Found: resource 123 not found
+ Not Found: user 123 not found
```
@baptadn
Copy link
Member

baptadn commented Jul 20, 2021

Thanks! (yes it's never too late 😄)

@baptadn baptadn merged commit ae62ae5 into premieroctet:master Jul 20, 2021
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