On Sun, Mar 24, 2013 at 08:59:42AM -0700, Adrien Kohlbecker wrote:
>
> I'm working with ludovic_ on the ruote-resque implementation, and I was
> wondering what's the best way to handle errors raised inside remote
> processes
> There seems to be different implementations in ruote-amqp and
> ruote-nats/ruote-beanstalk
Hello Adrien,
welcome to ruote's mailing list.
> At the moment, I'm sending back a workitem with an 'error' key and the
> receiver calls @context.error_handler.action_handle('error', fei, error)
> But in ruote-amqp, you use the flunk method, which does not seem to work in
> my tests (it does not display an error in ruote-kit)
Ruote-amqp should be followed (it's the most recent of the three iirc).
I added an assertion to the error propagation specs in ruote-amqp:
https://github.com/kennethkalmer/ruote-amqp/commit/6d2e36c8ebda418b438da5f64fbdc525a0734fcd
The error makes it in. Ruote-kit should display it. Maybe it's something
else. If you can provide a way to reproduce the issue, that'd be great.
> How would you go about implementing this ?
> The work in progress is hosted
> at https://github.com/adrienkohlbecker/ruote-resque
Very nice :-) Looking forward to see it completed.
Cheers,
--
John Mettraux - http://lambda.io/jmettraux
--
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.