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

Monitoring API: error responses should use proper HTTP codes #279

Closed
hamzaed opened this issue Feb 12, 2020 · 0 comments
Closed

Monitoring API: error responses should use proper HTTP codes #279

hamzaed opened this issue Feb 12, 2020 · 0 comments
Assignees
Labels
Bug Something isn't working Monitoring Server
Milestone

Comments

@hamzaed
Copy link
Contributor

hamzaed commented Feb 12, 2020

For instance the operation:GET /analytics/monitoring/session?sessionId=XXX should return a 404 HTTP code instead 200 if the session is not found.

@gdaniel gdaniel self-assigned this Feb 13, 2020
@gdaniel gdaniel added Bug Something isn't working Monitoring Server labels Feb 13, 2020
@gdaniel gdaniel added this to the Awaiting Integration milestone Feb 13, 2020
gdaniel added a commit that referenced this issue Feb 13, 2020
RestHandlers can now throw RestHandlerExceptions with the error code that should be returned by the server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Monitoring Server
Projects
None yet
Development

No branches or pull requests

2 participants