From 233fc507d835b20db190fb1ddd95b93399cb7e3f Mon Sep 17 00:00:00 2001 From: Ward Wouts Date: Mon, 7 Jun 2004 21:47:51 +0000 Subject: [PATCH] bug die razor vond --- trunk/ripnews/news/article.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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