GustaV wrote:
> So it looks like the class ErrorController is actually not used at
> all, does not override any default (Pylons?) error manager.
>
> You can check yourself: raise an exception in
> ErrorController.document() : nothing special happen.
This is a bug in the default template. The ErrorController should
not inherit from BaseController, which is a special TurboGears
controller and screws up routing. You want it to inherit from
WSGIController:
from pylons.controllers import WSGIController
class ErrorController(WSGIController):
...
I had this very problem just yesterday, but this fixed it, and now I
am getting my customized error document when problems arise.
--
Jonathan LaCour
http://cleverdevil.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---