I see this exception a lot
This commit is contained in:
parent
65e15eb091
commit
b7c7e12e32
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue