Skip to content

Commit

Permalink
Better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
amatriain committed Mar 6, 2017
1 parent ea7db72 commit 3fd121c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/clients/feed_client.rb
Expand Up @@ -129,7 +129,8 @@ def self.fetch_valid_feed(feed, http_caching, perform_autodiscovery)
# Try to parse the response as a feed
FeedParser.parse feed, feed_response, feed_response.encoding
return nil
rescue
rescue Exception => e
Rails.logger.info "Error trying to parse feed #{feed.url} as an XML feed: #{e.message}"
return feed_response
end
rescue RestClient::NotModified => e
Expand Down

0 comments on commit 3fd121c

Please sign in to comment.