From bed3bf630ccb06997cf8d08df2364f5bb8962a09 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Mon, 8 Jul 2013 14:39:41 -0400 Subject: [PATCH] removed the throw and logging the error in feed.js --- src/feed.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/feed.js b/src/feed.js index 8e1ac6d69e..dc3fa547ae 100644 --- a/src/feed.js +++ b/src/feed.js @@ -8,7 +8,9 @@ function saveFeed(location, feed) { fs.writeFile(location, rss.getFeedXML(feed), function (err) { - if (err) throw err; + if(err) { + console.log(err); + } }); }