Re: Changing page-level error handler
"Jonathan Ellis" <[email protected]> Fri, 22 Dec 2006 07:01:52 -0800
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 22 Dec 2006 11:57:10 +0200, "Iwan Vosloo" <[email protected]> said: > On Thu, 2006-12-21 at 12:05 -0800, Jonathan Ellis wrote: > > On Thu, 21 Dec 2006 07:54:29 +0200, "Iwan Vosloo" <[email protected]> said: > > > 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. > > But my understanding is that the server-level error handler will not be > called for, say spyce compilation errors or exceptions in python code > called from a spyce template. Am I understanding correctly? I don't think so... There may be some compile errors that don't, but the majority do... Python errors will be re-raised as spyceRuntimeException. -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