X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FView%2FTT.pm;h=58b247649fb758d0960f9877701549c8d86532e4;hb=c5c3c6bdb1ffeb7f5818721324889be90720c244;hp=964411dc70862fcbf38756a47eebc03976cda67e;hpb=3d543eda0c6f0e5ede10c93f265f9678bd31b0d5;p=catagits%2FCatalyst-View-TT.git diff --git a/lib/Catalyst/View/TT.pm b/lib/Catalyst/View/TT.pm index 964411d..58b2476 100644 --- a/lib/Catalyst/View/TT.pm +++ b/lib/Catalyst/View/TT.pm @@ -214,7 +214,7 @@ sub process { local $@; my $output = eval { $self->render($c, $template) }; if (my $err = $@) { - return $self->_rendering_error($c, $err); + return $self->_rendering_error($c, $template . ': ' . $err); } if (blessed($output) && $output->isa('Template::Exception')) { $self->_rendering_error($c, $output);