removed the throw and logging the error in feed.js

v1.18.x
Baris Usakli 12 years ago
parent 8f2a0014b3
commit bed3bf630c

@ -8,7 +8,9 @@
function saveFeed(location, feed) { function saveFeed(location, feed) {
fs.writeFile(location, rss.getFeedXML(feed), function (err) { fs.writeFile(location, rss.getFeedXML(feed), function (err) {
if (err) throw err; if(err) {
console.log(err);
}
}); });
} }

Loading…
Cancel
Save