     Enum.each(Repo.all(Feed), fn feed ->
       # Fetch data
       HTTPoison.start
-      {:ok, %HTTPoison.Response{body: body}} = HTTPoison.get(feed.url)
+      body = case HTTPoison.get(feed.url) do
+        {:ok, %HTTPoison.Response{body: body}} -> body
+        {:error, _} -> ""
+      end
 
       # Parse it
-      {:ok, parsed_feed, _} = FeederEx.parse(body)
+      parsed_feed = try do
+         elem(FeederEx.parse(body), 1)
+      rescue
+        _ -> %{entries: []}
+      catch
+        _ -> %{entries: []}
+      end
+
+      IO.inspect parsed_feed
 
       # Update feed items
       Enum.each(parsed_feed.entries, fn entry ->

          url: entry.link || entry.id,
          content: entry.summary,
          date: elem(parse_date(entry.updated), 1),
          guid: entry.id
        }

        case Repo.get_by(Item, guid: item.guid) do

  defp parse_date(date) do
    use Timex

    format = case date do
      nil -> :unknown
      _ -> find_dateformat(date)
    end

    pipe_matching(x, {:ok, x},
      case format do
