[Catalyst] C::P::StackTrace eats template exceptions?
A. Pagaltzis
pagaltzis at gmx.de
Sat Jul 22 03:47:50 CEST 2006
* Justin Guenther <jguenther at gmail.com> [2006-07-22 03:20]:
> In this particular case, Template::Toolkit uses exception
> objects, which seem to get completely eaten somewhere between
> getting thrown and caught by eval{}. The $@ variable is the
> empty string, in this case, and it's completely impossible to
> tell if there is an exception or not.
I have no idea if this is the problem or not, but there was a
discussion about rethrowing just a few days ago on PerlMonks
which mentioned similar issues:
Rethrowing with die $@ considered harmful
http://www.perlmonks.org/index.pl?node_id=561895
I don’t know if that’ll be any help, but who knows.
Regards,
--
#Aristotle
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;
More information about the Catalyst
mailing list