More concise render_die message
Marcus Ramberg [Tue, 20 Apr 2010 14:44:43 +0000 (14:44 +0000)]
Changes
lib/Catalyst/View/TT.pm

diff --git a/Changes b/Changes
index a0814f6..75e7748 100644 (file)
--- a/Changes
+++ b/Changes
@@ -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
index 861d047..4084fe2 100644 (file)
@@ -257,7 +257,7 @@ sub render {
             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;