[Mechanize-users] timeout error
mike at csa.net
Mon Aug 16 08:33:59 EDT 2010
On Fri, Aug 13, 2010 at 4:00 PM, Diego Virasoro <diego.virasoro at gmail.com>wrote:
> is there a way to make Mechanize try again whenever it receives a timeout
Currently Mechanize will not automatically retry. However, you should easily
be able to write an application-specific wrapper for `get()` that catches
the raised exception (it should be Timeout::Error) and retries according to
your application's specific needs.
> Thank you
> Mechanize-users mailing list
> Mechanize-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mechanize-users