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

Missing error handling in the snapshot creation endpoint #57

Open
BGehrels opened this issue Aug 1, 2017 · 0 comments
Open

Missing error handling in the snapshot creation endpoint #57

BGehrels opened this issue Aug 1, 2017 · 0 comments

Comments

@BGehrels
Copy link
Contributor

BGehrels commented Aug 1, 2017

The snapshot creation endpoint treats the filter parameter (added in #51) as an opaque string and hands it over to the host system. Sadly, it does not provide a mechanism to report invalid filter parameters and transform them into a reasonable status code/error message. So, at the moment, errors thrown by a SnapshotEventGenerator will be propagated as HTTP Status 500 to the caller, sometimes with stack trace information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants