There was an error while loading. Please reload this page.
e
error
1 parent 546dec9 commit 114ec8bCopy full SHA for 114ec8b
lib/async/http/faraday/adapter.rb
@@ -203,12 +203,12 @@ def perform_request(env)
203
end
204
205
return @app.call(env)
206
-rescue Errno::ETIMEDOUT, Async::TimeoutError => e
207
-raise ::Faraday::TimeoutError, e
208
-rescue OpenSSL::SSL::SSLError => e
209
-raise ::Faraday::SSLError, e
210
-rescue *CONNECTION_EXCEPTIONS => e
211
-raise ::Faraday::ConnectionFailed, e
+rescue Errno::ETIMEDOUT, Async::TimeoutError => error
+raise ::Faraday::TimeoutError, error
+rescue OpenSSL::SSL::SSLError => error
+raise ::Faraday::SSLError, error
+rescue *CONNECTION_EXCEPTIONS => error
+raise ::Faraday::ConnectionFailed, error
212
213
214
def with_client(env)
0 commit comments