lib/faraday/conductivity/repeater.rb in faraday-conductivity-0.1.0 vs lib/faraday/conductivity/repeater.rb in faraday-conductivity-0.1.1
- old
+ new
@@ -24,10 +24,10 @@
def call(env)
tries = 0
begin
@app.call(env)
- rescue Faraday::Error::ClientError
+ rescue Faraday::Error::ClientError, SystemCallError
if tries < @retries
tries += 1
@pattern.wait(tries)
retry
else