Hi all, I notice that when I catch a die with an eval block, the full stack comes with the error message. For instance, if I write:
<%perl> eval{ die "Something terrible happened\n" ; }; if ( $@ ){ warn($...@." TESTWARN\n"); } </%perl> , it gives Something terrible happened Stack: [/home/apache/htdocs/test.html:20] [/home/apache/mason/generic/syshandler.mas:148] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:914] [/home/apache/mason/generic/syshandler.mas:148] TESTWARN In my apache error log. Is it a mason feature or a mod_perl2 one? Is there a way to deactivate it locally or globaly? Thanks for your help. Jerome. -- Jerome Eteve. http://www.eteve.net jer...@eteve.net ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users