catch another exception
This commit is contained in:
parent
c54cd09e4e
commit
15a4f06afa
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ def get_body(server, message)
|
|||
a += $!
|
||||
print "Caught Net::NNTPReplyError reading article #{message} from #{server} (get_body)\n"
|
||||
print "Error: #{$!}\n"
|
||||
if retries == 0 && a =~ /^503/
|
||||
if retries == 0 && (a =~ /^503/ || a =~ /^400/)
|
||||
reconnect(server)
|
||||
get_group_info(server)
|
||||
retries = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue