Hi,

I upgraded to Catalyst::Plugin::StackTrace 0.05 earlier tonight and
ran into a slight problem with a TT template I was working on.

The template uses Template::Plugin::File to display an (optional) set
of images; as mentioned in its documentation, it throws a
Template::Exception when the file does not exist.  In the template:

[% TRY %]
  [% USE File(c.path_to('root', 'static', 'images', 'nonexistent.jpg')) %]
  <img src="[% c.uri_for('/static/images/nonexistent.jpg') %]" />
[% CATCH %]
  No image...
[% END %]

Using Catalyst::Plugin::StackTrace 0.04 this would display "No
image...".  With 0.05 this displays the img tag.

-- 
Daniel Westermann-Clark

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to