catch another exception

This commit is contained in:
Ward Wouts 2002-08-07 20:51:44 +00:00
parent c54cd09e4e
commit 15a4f06afa

View file

@ -258,7 +258,7 @@ def get_body(server, message)
a += $! a += $!
print "Caught Net::NNTPReplyError reading article #{message} from #{server} (get_body)\n" print "Caught Net::NNTPReplyError reading article #{message} from #{server} (get_body)\n"
print "Error: #{$!}\n" print "Error: #{$!}\n"
if retries == 0 && a =~ /^503/ if retries == 0 && (a =~ /^503/ || a =~ /^400/)
reconnect(server) reconnect(server)
get_group_info(server) get_group_info(server)
retries = 1 retries = 1