importfeed: Also ignore transient problems with downloading content from feeds.

This commit is contained in:
Joey Hess 2013-09-03 14:32:26 -04:00
parent 4e6cf16117
commit d1bacccff4
2 changed files with 11 additions and 2 deletions

View file

@ -52,6 +52,8 @@ perform relaxed cache url = do
Just l | not (null l) -> do
ok <- all id
<$> mapM (downloadEnclosure relaxed cache) l
unless ok $
feedProblem url "problem downloading item"
next $ cleanup url ok
_ -> do
feedProblem url "bad feed content"