Re: Changing page-level error handler
"Jonathan Ellis" <[email protected]> Thu, 21 Dec 2006 12:05:52 -0800
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 21 Dec 2006 07:54:29 +0200, "Iwan Vosloo" <[email protected]> said: > Hi Philip, > > On Wed, 2006-12-20 at 10:35 -0500, Philip Semanchuk wrote: > > And this bit of code works for me: > > pageerrortemplate = ('string', 'TheModuleName', 'TheFunctionName') > > > > Yes, that comment (except for the very first line, which refers to > "pageerror") applies to "pageerrortemplate" - as you use it. That's just a mistake, all references should be to pageerrortemplate. > My (probably erroneous) understanding from what I've read is that there > is an error handling _function_ also, and that the default one renders > "pageerrortemplate". Well, that's kind of what the server-level errorhandler function does, by default. So it sounds like overriding that is what you want to do. -Jonathan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV