summaryrefslogtreecommitdiff
path: root/Command/ImportFeed.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-03 14:32:26 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-03 14:32:26 -0400
commit21376d8937b4ab2994338060d7a15eb8392c6f77 (patch)
tree782ae53beb9dd72e7d585732b774274e4aa75d68 /Command/ImportFeed.hs
parentb80370b6371ec5ea8f335dfe7ce88b828c0e4e49 (diff)
importfeed: Also ignore transient problems with downloading content from feeds.
Diffstat (limited to 'Command/ImportFeed.hs')
-rw-r--r--Command/ImportFeed.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Command/ImportFeed.hs b/Command/ImportFeed.hs
index 816865e8c..662daacf3 100644
--- a/Command/ImportFeed.hs
+++ b/Command/ImportFeed.hs
@@ -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"