mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
removed the throw and logging the error in feed.js
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user