On Fri, Jun 09, 2006 at 02:49:04PM -0400, Rick Delaney wrote:
> 
> No, the message is coming from CGI/Application.pm.  The messed up file
> and line number are because C::A::F sets $Carp::CarpLevel without
> localizing it, I think.

I'm wrong about this, although it should be localized in case trapped
with eval.  The problem is with CGI::Carp qw(fatalsToBrowser), which does
the wrong thing when a die is trapped by an eval.  This appears to be
improved in the latest CGI on CPAN.  Although fatalsToBrowser is
nice, a workaround is to turn it off and just check your error log when
something goes wrong.

-- 
Rick Delaney
[EMAIL PROTECTED]
_______________________________________________
caf mailing list
caf@lpi.org
http://list.lpi.org/cgi-bin/mailman/listinfo/caf

Reply via email to