handle_uncaught_exception error logging

34 views
Skip to first unread message

Gordon

unread,
Apr 12, 2020, 8:57:12 AM4/12/20
to Django developers (Contributions to Django itself)
Why was the error log removed from handle_uncaught_exception?  I didn't find mention about it but I've recently encountered a middleware causing a 500 error and not getting a traceback log was unexpected.


Should it be added back or is it intentionally removed?

Tim Graham

unread,
Apr 12, 2020, 10:25:07 AM4/12/20
to Django developers (Contributions to Django itself)
The relevant commit might be https://github.com/django/django/commit/10b44e45256ddda4258ae032b8d4725a3e3284e6. That change was made in Django 2.1. You didn't say what version of Django you're using.

You'll have to give more details about your case and what's behaving differently.

Gordon

unread,
Apr 12, 2020, 11:13:12 AM4/12/20
to Django developers (Contributions to Django itself)
Hrm.  Thanks for the link... probably not going to end up being a Django issue.  I will report back if it is.  
Reply all
Reply to author
Forward
0 new messages