only mask socket errors

This commit is contained in:
Mike Dirolf 2009-03-12 14:31:37 -04:00
parent 401922ca63
commit 7e6e11ba99
1 changed files with 1 additions and 1 deletions

View File

@ -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