Add missing error case
This commit is contained in:
parent
b0d9189399
commit
5ee8515bb2
|
@ -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}} ->
|
||||
|
|
Loading…
Reference in New Issue