2👍
✅
You might try just creating custom ExceptionMiddleware. Just change the process_exception method to log the exception and request data somewhere.
Here’s an example: http://www.peterbe.com/plog/who-was-logged-in-during-a-django-exception
0👍
If the exception in the django app is not caught, and DEBUG = True
, then the exception should be sent to the client.
Some options to help you get debugging info:
- Enable and configure logging
- Set up email error reporting
- Use something like Wireshark to inspect the HTTP request and responses.
- [Answered ]-Bootstrap styling in Django
- [Answered ]-Triggering Custom Functionality in Django Admin
- [Answered ]-Email sending from address is gmail with django
- [Answered ]-Search backend for Django App on Heroku
- [Answered ]-Getting the amount of a plan using stripe API in django
Source:stackexchange.com