rescue a few more types of exceptions

This commit is contained in:
Mike Dirolf 2009-03-12 16:40:02 -04:00
parent 0d72ad3cdf
commit 37044a38f5
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 SocketError => ex
rescue SocketError, SystemCallError, IOError => ex
close if @socket
end
@socket