My favorites | Sign in
Project Logo
          
New issue | Search
for
| Advanced search | Search tips
Issue 2: Raise Http404 is got caught by the logger middleware, but since Http404 doesn't have message property, middleware rises an exception.
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 2008
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by nic...@sharenow.com, May 26, 2008
What steps will reproduce the problem?
1. Create any view with raise Http404 in it
2. Go to the page served by this view
3. Find an exception in your email

What is the expected output? What do you see instead?

Expected output - 404 page. Instead you have 500 page. 


What version of the product are you using? On what operating system?

Django latest SVN, on FreeBSD




 
Comment 1 by dcramer, Jul 31, 2008
Solved the issue where exceptions without messages fail to catch.

Added a DBLOG_CATCH_404_ERRORS setting which is defaulted to False.
Status: Fixed
Sign in to add a comment

Hosted by Google Code