Return JSON data on 500 errors #23
Labels
bug
Something isn't working
enhancement
New feature or request
python
Pull requests that update Python code
Currently the django application (rconweb module) returns HTML when an error happens backend side.
Which is then displayed to the user but the message is completly useless because it's just about "not being able to parse JSON"
Add a global error handler that turns expections into a nicely formated json structure (gotta find how by reading the Django docs)
The text was updated successfully, but these errors were encountered: