I see this exception a lot

This commit is contained in:
Ward Wouts 2002-11-05 10:29:51 +00:00
parent 65e15eb091
commit b7c7e12e32

View file

@ -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$ # $Source$
# #
# article.rb # article.rb
@ -159,7 +159,7 @@ def get_group_info(server)
rescue Net::NNTP::RuntimeError rescue Net::NNTP::RuntimeError
print "Caught #{$!.type} from #{server}\n" print "Caught #{$!.type} from #{server}\n"
raise PermError, "#{$!}" 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 "Caught #{$!.type} reading from server #{server} (get_group_info)\n"
print "Error: #{$!}\n" print "Error: #{$!}\n"
reconnect(server) reconnect(server)