Cleaning up logline

This commit is contained in:
Kip Gebhardt 2015-02-11 16:11:27 -08:00
parent 628333b4a9
commit d0250ac852
2 changed files with 1 additions and 7 deletions

View File

@ -87,7 +87,7 @@ RssBraider.prototype.processFeed = function(feed_name, format, callback)
req.on('response', function (res) {
var stream = this;
if (res.statusCode !== 200) {
return this.emit('error', new Error('Bad status code'));
return this.emit('error', 'Bad status code: ' + res.statusCode);
}
stream.pipe(feedparser);
});

View File

@ -82,10 +82,4 @@ module.exports = function (item, itemOptions) {
}
});
}
console.log(item);
};