Have render() warn on exception, rather than die.
authorDavid E. Wheeler <david@justatheory.com>
Wed, 10 Mar 2010 18:24:49 +0000 (18:24 +0000)
committerDavid E. Wheeler <david@justatheory.com>
Wed, 10 Mar 2010 18:24:49 +0000 (18:24 +0000)
commit596ff24590a70c4cace48a8fd8f534d9caab0dd0
treebca3389eba5923955b073841a2de8fe28e92e189
parentfc0ffed0b32adbce9cf3b5e70bfb8ea6548726d5
Have render() warn on exception, rather than die.

This is at mst's request, to minimize backward compatibility issues. To
silence the warning, pass `render_die => 0` to the constructor. Better yet,
pass 'render_die => 1' to make it die instead of returning the excption. This
will be the default in a future release.
Changes
lib/Catalyst/View/TT.pm
t/lib/TestApp.pm