still better error handling

This commit is contained in:
Ward Wouts 2002-07-04 22:40:24 +00:00
parent 8a31948d36
commit 06600fc0d4
3 changed files with 8 additions and 5 deletions

View file

@ -327,7 +327,8 @@ for group in @config.keys.sort
mode, filename, body = get_multi(i, group)
end
output_data(i, mode, filename, body) if mode != false
rescue Article::TempError
rescue Article::TempError, Article::PermError
print "#{$!}\n"
print "Skipping article...\n"
next
end