[Catalyst] Chained and exceptions

Bill Moseley moseley at hank.org
Thu May 9 16:02:25 GMT 2013


On Thu, May 9, 2013 at 8:31 AM, Bill Moseley <moseley at hank.org> wrote:

> Hi Bill,
>
>>
>> This is because you don't want Catalyst to die. Imagine you are running
>> a fastcgi server and you accidentally created an action which dies on
>> certain user input.
>>
>
> Hi Lukas,
>
> Sorry, you missed the point.  Yes, Catalyst traps exceptions.  That is
> expected and is done in handle_request when calling $c->dispatch.
>

No, sorry, I responded too quickly.   I'm not talking about the entire have
exiting, of course.   I'm just not sure it makes sense to not check
$c->errors after calling each action in a chain.  What's the use case for
that?


-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20130509/15eaa=
dd7/attachment.htm


More information about the Catalyst mailing list