X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FView%2FTT.pm;h=a8a1b27dade200ae257de7d1175397da347dbb09;hb=dd53ec3321f39d0423f5b3c538445779c9a5e5f3;hp=f4d5762cf4164485d0566222b35936e06a6f0c10;hpb=fe3df9dcf23365f7d3e685d128042393703a3ad7;p=catagits%2FCatalyst-View-TT.git diff --git a/lib/Catalyst/View/TT.pm b/lib/Catalyst/View/TT.pm index f4d5762..a8a1b27 100644 --- a/lib/Catalyst/View/TT.pm +++ b/lib/Catalyst/View/TT.pm @@ -10,7 +10,7 @@ use Template::Timer; use MRO::Compat; use Scalar::Util qw/blessed weaken/; -our $VERSION = '0.38'; +our $VERSION = '0.40'; $VERSION = eval $VERSION; __PACKAGE__->mk_accessors('template'); @@ -265,7 +265,7 @@ sub render { die $self->template->error if $self->{render_die}; return $self->template->error; } - $c->log->debug('The Catalyst::View::TT render() method will start dying on error in a future release. Unless you are calling the render() method manually, you probably want the new behaviour, so set render_die => 1 in config for ' . blessed($self) . '. If you wish to continue to return the exception rather than throwing it, add render_die => 0 to your config.') if $c->debug; + $c->log->debug('The Catalyst::View::TT render() method will start dying on error in a future release. Unless you are calling the render() method manually, you probably want the new behaviour, so set render_die => 1 in config for ' . blessed($self) . '. If you wish to continue to return the exception rather than throwing it, add render_die => 0 to your config.') if $c && $c->debug; return $self->template->error; } return $output;