Re: Exception handling changes redux

Jonathan Swartz <[email protected]> Sun, 22 Apr 2007 14:51:31 -0700
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
Yeah, that name is a bit odd.

What about

     process_runtime_errors => (CODE | false)

By default this has the current behavior. If given a code reference,  
will call that with $@ in the $SIG{__DIE__} handle to process the  
runtime error. If given a false value, will leave runtime errors alone.

Jon

On Apr 22, 2007, at 8:59 AM, Dave Rolsky wrote:

> I just checked in a change to add a new Request parameter,
> errors_are_exceptions. By default, this is true, and Mason behaves the
> same way as always. If you set this to false, then Mason will not  
> set a
> $SIG{__DIE__} handle when compiling or running components.
>
> I'm not entirely thrilled about the name, so if people have better  
> ideas
> please let me know. But please let me know soon because I'd like to
> release 1.36 in the near future.
>
>
> -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/
> _______________________________________________
> Mason-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-devel
>


-------------------------------------------------------------------------
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/