only mask socket errors
This commit is contained in:
parent
401922ca63
commit
7e6e11ba99
|
@ -143,7 +143,7 @@ module XGen
|
|||
@semaphore.lock if semaphore_is_locked
|
||||
|
||||
break if @slave_ok || is_master
|
||||
rescue => ex
|
||||
rescue SocketError => ex
|
||||
close if @socket
|
||||
end
|
||||
@socket
|
||||
|
|
Loading…
Reference in New Issue