[Catalyst-commits] r13175 - in Catalyst-View-TT/trunk: .
lib/Catalyst/View
marcus at dev.catalyst.perl.org
marcus at dev.catalyst.perl.org
Tue Apr 20 14:44:43 GMT 2010
Author: marcus
Date: 2010-04-20 15:44:43 +0100 (Tue, 20 Apr 2010)
New Revision: 13175
Modified:
Catalyst-View-TT/trunk/Changes
Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm
Log:
More concise render_die message
Modified: Catalyst-View-TT/trunk/Changes
===================================================================
--- Catalyst-View-TT/trunk/Changes 2010-04-19 07:59:14 UTC (rev 13174)
+++ Catalyst-View-TT/trunk/Changes 2010-04-20 14:44:43 UTC (rev 13175)
@@ -1,4 +1,6 @@
Revision history for Perl extension Catalyst::View::TT.
+
+ - update render_die message to be more concise.
0.34 2010-04-07 04:14:50
- Fix the process method to have the previous behaviour of reporting
Modified: Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm
===================================================================
--- Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm 2010-04-19 07:59:14 UTC (rev 13174)
+++ Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm 2010-04-20 14:44:43 UTC (rev 13175)
@@ -257,7 +257,7 @@
die $self->template->error if $self->{render_die};
return $self->template->error;
}
- $c->log->debug('The Catalyst::View::TT render() method of will die 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 are calling the render() method manually and you wish it 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->debug;
return $self->template->error;
}
return $output;
More information about the Catalyst-commits
mailing list