Re: Aggressive exception handler making extra work for itself.
Jonathan Swartz <[email protected]> Tue, 3 Apr 2007 21:41:47 -0700
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On Apr 3, 2007, at 4:08 PM, Dave Rolsky wrote:
> So the hacky workaround I came up with was to only set Mason's
> $SIG{__DIE__} handler when the error mode is "output".
But it can also be useful to get the full stack trace in the logs
under "fatal" error mode. Some users might decide this is worth the
expense, especially if the modules they call aren't making much use
of die for exceptions.
So we might want this to be its own parameter, separate from error mode.
Jon
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV