rescue a few more types of exceptions
This commit is contained in:
parent
0d72ad3cdf
commit
37044a38f5
|
@ -143,7 +143,7 @@ module XGen
|
||||||
@semaphore.lock if semaphore_is_locked
|
@semaphore.lock if semaphore_is_locked
|
||||||
|
|
||||||
break if @slave_ok || is_master
|
break if @slave_ok || is_master
|
||||||
rescue SocketError => ex
|
rescue SocketError, SystemCallError, IOError => ex
|
||||||
close if @socket
|
close if @socket
|
||||||
end
|
end
|
||||||
@socket
|
@socket
|
||||||
|
|
Loading…
Reference in New Issue