[Catalyst] Chained and exceptions

Tomas Doran bobtfish at bobtfish.net
Fri May 10 08:29:44 GMT 2013


On 9 May 2013, at 14:25, Bill Moseley <moseley at hank.org> wrote:

> I have a feeling I asked this before, but cannot find the post.
> 
> [info] Exception powered by Catalyst 5.90030
> 
> What's the reasoning that chained actions continue to run after an earlier exception?
> 


You're after this: https://metacpan.org/module/Catalyst::ActionRole::DetachOnDie

which gives you the alternate behaviour (i.e. detaching from the chain on first exception).

Cheers
t0m




More information about the Catalyst mailing list