mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-06 00:03:36 -04:00
Only rescue from StandardError's
This commit is contained in:
parent
50b6e2841d
commit
e3c1091de8
@ -9,7 +9,7 @@ module Faraday
|
||||
retries = @retries
|
||||
begin
|
||||
@app.call(env)
|
||||
rescue Exception => e
|
||||
rescue => e
|
||||
if retries > 0
|
||||
retries -= 1
|
||||
retry
|
||||
|
Loading…
x
Reference in New Issue
Block a user