mperham / rack-fiber_pool

Rack middleware to execute each request in a Fiber
MIT License
244 stars 24 forks source link

By default rescue exception occuring within a fiber. #11

Closed francois2metz closed 13 years ago

francois2metz commented 13 years ago

Add rescue_exception option to override the default behavior.

We have played with sinatra-synchrony today and when an exception occurs after the fiber has been resumed at least once, we have no way to catch the exception. In this case the rack stack crash.

mperham commented 13 years ago

Looks great, nice job.

chikamichi commented 13 years ago

Thank you very much.

kyledrake commented 13 years ago

Any idea when this will be pushed to a new version of the gem? Let me know so I can utilize it in Sinatra::Synchrony.

kyledrake commented 13 years ago

Apologies, just answered my own question. Thanks

mperham commented 13 years ago

It will be pushed 30 seconds ago! :-)

On Wed, Aug 24, 2011 at 9:21 AM, kyledrake reply@reply.github.com wrote:

Any idea when this will be pushed to a new version of the gem? Let me know so I can utilize it in Sinatra::Synchrony.

Reply to this email directly or view it on GitHub: https://github.com/mperham/rack-fiber_pool/pull/11#issuecomment-1891412