Matt, I think what you want is the error_mode directive. Setting it to 'fatal' I believe will produce a 500 page.
http://www.masonhq.com/docs/manual/Params.html#error_mode Dave, So what exactly is the purpose of error_format? -b On Fri, February 3, 2006 1:31 pm, Matt Grommes said: > Is there a way to hide the error page or detect when an error has > happened and show another page? I don't personally care so much about > using $@ if I can do that. > > > Dave Rolsky wrote: >> On Fri, 3 Feb 2006, Matt Grommes wrote: >> >>> beer wrote: >>>> Hey Folks >>>> >>>> I'm trying to figure out how to get mason to not push the stack >>>> trace onto $@ when a die is encountered in the underlying api. I >>>> thought this was set using the error_format variable but it seems I >>>> get the same output regardless of what this is set to...if someone >>>> could point me in the right direction, I would greatly appreciate >>>> it. >> >> This just isn't possible, I'm afraid. Use of eval{} and $@ is littered >> throughout the Mason source code. >> >> Generally speaking, it's unreasonable to expect _any_ CPAN module to >> not use [EMAIL PROTECTED] >> >> >> -dave >> >> /*=================================================== VegGuide.Org >> www.BookIRead.com Your guide to all that's veg. My book blog >> ===================================================*/ >> > > > ------------------------------------------------------- This SF.net email > is sponsored by: Splunk Inc. Do you grep through log files for problems? > Stop! Download the new AJAX search engine that makes searching your log > files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ Mason-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mason-users > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

