Re: Exception handling changes redux
Dave Rolsky <[email protected]> Sat, 12 May 2007 23:41:57 -0500 (CDT)
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 12 May 2007, Jonathan Swartz wrote:
> Ok, why don't we compromise on "runtime_error_handler". :)
>
> This *is* a general runtime thing, in that any runtime error that occurs
> within a Mason request will be affected by it. Mason components can call
> subroutines and methods to get data, etc., and errors that occur there will
> be affected by this.
Are you suggesting that we should _not_ use this handler when compiling
the component? Right now we set $SIG{__DIE__} in two methods of Request.
One is exec, but the other is _initialize. The latter is effectively the
component compilation stage, since it's when we create or load the parsed
Perl of a component.
-dave
/*===================================================
VegGuide.Org www.BookIRead.com
Your guide to all that's veg. My book blog
===================================================*/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/