Hello John,

Just a follow up regarding this issue with errors not bubbling up Ruote 
when using flunk : 
It seems that when I switch to FsStorage, it works. (I was using 
ruote-postgres which would be our backend of choice when we deploy ruote)

I put this specific issue aside for the time being, but now I'm running 
into another issue with storage, this time with HashStorage. 
When I run the specs of ruote-resque using FsStorage, they pass. When I 
change the storage to HashStorage, they fail.
I don't know if the two issues share the same root cause, but they seem 
related.

What do you think ?

If you would like to reproduce the issue, the spec is at 
/spec/lib/ruote/resque/receiver_spec.rb

Regards,
Adrien

On Sunday, March 24, 2013 10:31:25 PM UTC+1, John Mettraux wrote:
>
>
> 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.


Reply via email to