#24360: when LocaleMiddleware activated, no error page with traceback and error
message in logger
-------------------------------+--------------------
     Reporter:  mishust        |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  1.7
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 Steps to reproduce:
 1. include in MIDDLEWARE_CLASSES
     'django.middleware.locale.LocaleMiddleware',
 2. Make error in code (for example addind 'f' symbol)

 urlpatterns = patterns('',
 f
     url(r'^admin/', include(admin.site.urls)),
 3. Open root page http://mysite/

 Result: "A server error occurred.  Please contact the administrator." HTML
 page
 and Traceback on concole output

 Expected result: with Debug=True expecting to see HTML error page with
 Traceback and detailed info.

 Also, error message dont appear in python logger - in files, not send to
 ADMIN emails.

--
Ticket URL: <https://code.djangoproject.com/ticket/24360>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.b18ee1afaca5b5c33ac7b96d80a97c61%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to