Keep going with next issue

This commit is contained in:
Nemo 2020-07-01 18:26:48 +05:30
parent 03fccde754
commit a05a1253db
1 changed files with 9 additions and 4 deletions

View File

@ -115,10 +115,15 @@ module Muse::Dl
end
elsif thing.is_a? Muse::Dl::Journal
thing.issues.each do |issue|
# Update the issue
issue.parse
parser.url = issue.url
Main.dl parser
begin
# Update the issue
issue.parse
parser.url = issue.url
Main.dl parser
rescue e
puts e.message
puts "Faced an exception with previous issue, continuing"
end
end
end
end