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

Improve error message when HTTP route not found #445

Closed
tsandall opened this issue Sep 6, 2017 · 0 comments
Closed

Improve error message when HTTP route not found #445

tsandall opened this issue Sep 6, 2017 · 0 comments

Comments

@tsandall
Copy link
Member

tsandall commented Sep 6, 2017

If the OPA server does not find a handler for the HTTP request, it replies with a somewhat cryptic error:

torin:~$ curl localhost:8181/v0/data
404 page not found

In this case, the path is valid but GET is used instead of POST. It would be nice to report better error messages in cases like this one.

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

No branches or pull requests

1 participant