Closed alexwilson closed 9 years ago
Good catch. If you're up for a PR with that behavior (and the last failure halting and outputting the traceback like the current behavior), that would be great.
Cheers, kept seeing it on a slower system which has been fairly annoying ahaha. I've just submitted that PR, it will attempt to retry all Errno exceptions 3 times, before throwing the original exception. For GET requests I've taken the liberty of throwing in a 5 second sleep, but have skipped that measure for other requests as they're generally used for more important operations in REST.
I've run into this issue a few times now, using the latest version of the gem - Below is the exception in question:
This should just be a matter of a try/catch block around HTTPFatalError, with a retry and retry counter (say, 3 failures in a row = halt application?). I can submit a PR for this.