Hi,

 I tried to set MasonComponentErrorHandler to a false value in my
apache conf like this:
PerlSetVar MasonComponentErrorHandler 0

It doesn't work and gives me some errors:

[Wed Sep 30 11:42:06 2009] [error] [client 195.93.21.10] The
'component_error_handler' parameter (undef) to
HTML::Mason::Request::ApacheHandler->new() was an 'undef', which is
not one of the allowed types: scalar coderef

I think it might be an inconsistency between the documentation and
what happens in reality:
http://www.masonhq.com/docs/manual/Params.html#component_error_handler

Jerome.


2009/9/30 Jérôme Etévé <jerome.et...@gmail.com>:
> Thanks, I'll have a look at this.
>
> J
>
> 2009/9/29 Hans Dieter Pearcey <hdp.perl.mason.us...@weftsoar.net>:
>> Excerpts from Jérôme Etévé's message of Tue Sep 29 14:49:09 -0400 2009:
>>> Is it a mason feature or a mod_perl2 one?
>>
>> mason
>>
>>> Is there a way to deactivate it locally or globaly?
>>
>> See component_error_handler in HTML::Mason::Request.  Localizing 
>> $SIG{__DIE__}
>> inside your eval should work too.
>>
>> hdp.
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Mason-users mailing list
>> Mason-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mason-users
>>
>
>
>
> --
> Jerome Eteve.
> http://www.eteve.net
> jer...@eteve.net
>



-- 
Jerome Eteve.
http://www.eteve.net
jer...@eteve.net

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to