Skip to content

Commit 213ed1f

Browse files
authored
Merge pull request #744 from spk/connect-errors
Add Errno::EADDRNOTAVAIL to system call errors
2 parents 6041668 + 9b27498 commit 213ed1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/redis/client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ def establish_connection
343343
@pending_reads = 0
344344
rescue TimeoutError,
345345
SocketError,
346+
Errno::EADDRNOTAVAIL,
346347
Errno::ECONNREFUSED,
347348
Errno::EHOSTDOWN,
348349
Errno::EHOSTUNREACH,

0 commit comments

Comments
 (0)