Django error message not being shown when debug mode is enabled #3071
Labels
1 - Bug
Incorrect behavior of the product
good first issue
res:duplicate
Duplicate of an existing issue
Describe the bug
Currently, when debug mode is enabled the frontend directly parses the response as-is form the backend when an exception occurs. This output is not nearly as clean as Django's formatted error responses.
This bug may have arose due to an update in dependencies.
It seems as if the backend is returning a plain text response, hence the formatting. Instead, the backend should return an HTML response so it can be formatted correctly
The Django documentation on error reporting may be beneficial in solving this issue
Both of the pictures are from #2929 (comment)
The text was updated successfully, but these errors were encountered: