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.
1 parent a5d4ef0 commit e53de92Copy full SHA for e53de92
lib/action_native_push/service/apns.rb
@@ -61,7 +61,7 @@ def rescue_and_reraise_network_errors
61
yield
62
rescue Errno::ETIMEDOUT => e
63
raise ActionNativePush::Errors::TimeoutError, e.message
64
- rescue Errno::ECONNRESET, Errno::ECONNREFUSED, SocketError => e
+ rescue Errno::ECONNRESET, Errno::ECONNREFUSED, Errno::EHOSTUNREACH, SocketError => e
65
raise ActionNativePush::Errors::ConnectionError, e.message
66
rescue OpenSSL::SSL::SSLError => e
67
if e.message.include?("SSL_connect")
0 commit comments