diff --git a/trunk/ripnews/news/article.rb b/trunk/ripnews/news/article.rb index 036e2c9..8a82c9f 100644 --- a/trunk/ripnews/news/article.rb +++ b/trunk/ripnews/news/article.rb @@ -1,4 +1,4 @@ -# $Dwarf: article.rb,v 1.85 2004/06/04 09:11:01 ward Exp $ +# $Dwarf: article.rb,v 1.86 2004/06/04 09:20:23 ward Exp $ # $Source$ # @@ -52,7 +52,7 @@ def initialize(nntpservers, groupname, newsrc="~/.newsrc") @connections[server]["skip_ids"] = Set::IntSpan.new() @connections[server]["newsrc"] = News::Newsrc.new("#{newsrc}.#{server}") set_skip_ids(server, @connections[server]["newsrc"].marked_articles(@group)) - rescue SocketError, Errno::EINVAL, EOFError + rescue SocketError, Errno::EINVAL, EOFError, Errno::ETIMEDOUT print "Connection to #{server} failed: #{$!}\n" del_server(server) end