[Trac-tickets] [The Trac Project] #2004: [patch]
send_project_index() as exception handler in modpython_frontend.py
The Trac Project
noreply at edgewall.com
Fri Sep 2 12:00:18 CDT 2005
#2004: [patch] send_project_index() as exception handler in modpython_frontend.py
---------------------------------+------------------------------------------
Reporter: dmbrucker at gmail.com | Owner: cmlenz
Type: defect | Status: new
Priority: normal | Milestone: 0.9
Component: mod_python frontend | Version: devel
Severity: minor | Keywords: |
---------------------------------+------------------------------------------
Currenly, when get_environment() would cause an exception (if the
environment isn't read+write for the webserver, for example), the
modpython_frontend would just bounce the exception all the way up,
creating a generic "500 internal server error" on screen, requiring the
user to go read the Apache error_log for ideas why. This trivial patch
catches those exceptions and handles them a little more gracefully,
calling send_project_index().
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2004>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list