Skip to content

Commit 9b27498

Browse files
committed
Add Errno::EADDRNOTAVAIL to system call errors
1 parent 94af6b4 commit 9b27498

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
@@ -341,6 +341,7 @@ def establish_connection
341341
@pending_reads = 0
342342
rescue TimeoutError,
343343
SocketError,
344+
Errno::EADDRNOTAVAIL,
344345
Errno::ECONNREFUSED,
345346
Errno::EHOSTDOWN,
346347
Errno::EHOSTUNREACH,

0 commit comments

Comments
 (0)