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
We shouldn't leak stack traces in the event of an error downloading a csv #584
Comments
So maybe we should expose the download CSV stuff in a different way? Since we're just hitting the API endpoint directly the stacktrace error response is normal behavior |
I'm cool with that. There is no specific reason it has to be part of the api. That being said, I am generally of the opinion that an endpoint shouldn't be limited to just JSON responses. e.g. if someone just wants to run a QP query and get the result as a CSV I think it still makes sense to use |
Ya that's what I meant. Keep the API endpoint the same but add some UI to wrap it or something so we're not giving the user a link to it directly |
We should show the same sort of error we do elsewhere in the site, rather than just an unstyled stack trace.
The text was updated successfully, but these errors were encountered: