Ignore errors when there's no feed data
This commit is contained in:
parent
a7a296b342
commit
87ea1f5624
|
@ -201,6 +201,9 @@ defmodule Frenzy.UpdateFeeds do
|
||||||
{:ok, rss} ->
|
{:ok, rss} ->
|
||||||
update_feed_from_rss(feed, rss)
|
update_feed_from_rss(feed, rss)
|
||||||
|
|
||||||
|
{:error, :no_data} ->
|
||||||
|
:ok
|
||||||
|
|
||||||
{:error, reason} ->
|
{:error, reason} ->
|
||||||
Logger.error("Unable to parse feed at '#{feed.feed_url}': #{inspect(reason)}")
|
Logger.error("Unable to parse feed at '#{feed.feed_url}': #{inspect(reason)}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue