-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Make server errors return JSON if requested via AJAX #233
Conversation
+1 looks like a good approach/pattern. Thanks for taking the initiative! Build is failing, but I don't see any failed tests. Is it due to pep8/pylint limits? |
Hey, just going through the list of open PR's. Think we can kick off another build to see if it passes and then merge? |
What is the status of this PR? Is it the fix for STUD-260? |
On Linux, coffeescript refuses to compile unless the `catch` keyword has an error variable to bind to. On Mac, it works just fine either way. Go figure.
@cahrens Yes, this PR should fix STUD-260. I just need to figure out why it's causing the Jenkins build to fail... |
Make server errors return JSON if requested via AJAX
Mm more copy
Fix failing comment client tests.
Graphing Course Forums Data
* Client credentials + grades api (openedx#228) * Client credentials and grades api * Updating the permissions on the fly for request object (openedx#233) * Updating the permissions on the fly for request object * Update views.py
update png
fix: update lxml parser for celery tasks to be more secure
* Commits: chore(deps): update dependency codecov to v3.8.1
Our default error handler is popping up rendered HTML error pages because our error handlers are returning HTML. It would be much saner to return JSON when requested via AJAX, even on errors. This pull request makes that happen.