Add missing error case

This commit is contained in:
Shadowfacts 2020-05-29 20:04:41 -04:00
parent b0d9189399
commit 5ee8515bb2
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ defmodule Frenzy.UpdateFeeds do
case FeedParser.parse(body, content_type) do
{:ok, rss} ->
update_feed_from_rss(feed, rss)
{:error, reason} ->
Logger.error("Unable to parse feed at '#{feed.feed_url}': #{inspect(reason)}")
end
{:ok, %HTTPoison.Response{status_code: 404}} ->