Catch RSS Parsing errors

This commit is contained in:
Robin Ward 2017-05-09 15:07:06 -04:00
parent c2bf525a06
commit 6e4ba8a33e
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ module Jobs
def fetch_rss
SimpleRSS.parse open(@feed_url, allow_redirections: :all)
rescue OpenURI::HTTPError
rescue OpenURI::HTTPError, SimpleRSSError
nil
end