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 e53de92 commit c90069cCopy full SHA for c90069c
lib/action_native_push/service/fcm.rb
@@ -64,7 +64,7 @@ def rescue_and_reraise_network_errors
64
yield
65
rescue Net::ReadTimeout, Net::OpenTimeout => e
66
raise ActionNativePush::Errors::TimeoutError, e.message
67
- rescue SocketError => e
+ rescue Errno::ECONNRESET, SocketError => e
68
raise ActionNativePush::Errors::ConnectionError, e.message
69
rescue OpenSSL::SSL::SSLError => e
70
if e.message.include?("SSL_connect")
0 commit comments