We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8cdcc08 + 5e688c8 commit b59e772Copy full SHA for b59e772
lib/omniauth/strategies/oauth2.rb
@@ -80,7 +80,7 @@ def callback_phase
80
fail!(:invalid_credentials, e)
81
rescue ::MultiJson::DecodeError => e
82
fail!(:invalid_response, e)
83
- rescue ::Timeout::Error, ::Errno::ETIMEDOUT => e
+ rescue ::Timeout::Error, ::Errno::ETIMEDOUT, Faraday::Error::TimeoutError => e
84
fail!(:timeout, e)
85
rescue ::SocketError => e
86
fail!(:failed_to_connect, e)
0 commit comments