From b7c7e12e32698f3c9bc86b27622a6303fdbd5a43 Mon Sep 17 00:00:00 2001 From: Ward Wouts Date: Tue, 5 Nov 2002 10:29:51 +0000 Subject: [PATCH] I see this exception a lot --- 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 d465cf1..39230c2 100644 --- a/trunk/ripnews/news/article.rb +++ b/trunk/ripnews/news/article.rb @@ -1,6 +1,6 @@ ################################# # -# $Dwarf: article.rb,v 1.57 2002/11/05 09:19:41 ward Exp $ +# $Dwarf: article.rb,v 1.58 2002/11/05 09:33:41 ward Exp $ # $Source$ # # article.rb @@ -159,7 +159,7 @@ def get_group_info(server) rescue Net::NNTP::RuntimeError print "Caught #{$!.type} from #{server}\n" raise PermError, "#{$!}" - rescue Errno::EPIPE, Errno::ECONNRESET + rescue Errno::EPIPE, Errno::ECONNRESET, EOFError print "Caught #{$!.type} reading from server #{server} (get_group_info)\n" print "Error: #{$!}\n" reconnect(server)