Hej Toke,
CherryPy specifig issues goes here:
http://www.cherrypy.org/newticket

And TurboGear's issues here:
http://trac.turbogears.org/turbogears/newticket

Mvh.
Ronald

On Nov 14, 2005, at 12:02 PM, Toke Høiland-Jørgensen wrote:


I poked around in the cherrypy code a bit, and came up with the
following, which will make HTTPErrors be handled by the custom
_cpOnError method:

In _cphttptools.py of the cherrypy package change line 277 from:
except (cherrypy.HTTPRedirect, HTTPError), inst:
to
except (cherrypy.HTTPRedirect), inst:

This will make HTTPErrors be handle by the HandleError method instead
of directly. The HandleError method is where the user defined
_cpOnError is called.

I suppose a bug should be filed... Where do I do that? :)


________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog



Reply via email to