summaryrefslogtreecommitdiff
path: root/Command/ImportFeed.hs
diff options
context:
space:
mode:
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"