tracking down cgi errors.
David Miller
justdave at syndicomm.com
Mon Jul 7 20:57:41 UTC 2003
On 7/7/2003 4:38 PM -0400, David Miller wrote:
> b) edit globals.pl, find "sub die_with_dignity" and uncomment the entirety
> of that sub, and the $::SIG{__DIE__} trap right under it. This will cause
> any error to report an entire call stack trace instead of just the error
> message (which in many cases will be printed to both the web page and the
> error log). In the case of template errors, this will spew about an entire
> screen of data, and buried somewhere in the middle of it will be the real
> error.
Oh, I forgot to mention, if you're using this trick, you'll also need to
uncomment a "use Carp" a little further up in globals.pl, too.
--
Dave Miller Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/ http://www.bugzilla.org/
More information about the developers
mailing list