[Catalyst] exceptions and chained actions

Jonas Alves jonas.alves at gmail.com
Tue Mar 11 17:03:25 GMT 2008


On Tue, Mar 11, 2008 at 4:12 PM, Dami Laurent (PJ)
<laurent.dami at justice.ge.ch> wrote:
>
>
>
> Hi Catalysters,
>
> It seems that if an exception is raised in the entry point to an action
> chain, Catalyst still tries to forward to the other chain components,
> accumulating all exceptions into $c->errors.
>
> Is there a way to stop the chain at the first exception ?
>
> Thanks in advance,
>
>         Laurent Dami
>
>

Probably you need to catch it and call detach.

-- 
Jonas



More information about the Catalyst mailing list