Commit 4aaef00c authored by yPhil's avatar yPhil
Browse files

Network error promise rejection

- Legacy error
parent 2fbd7aa2
Pipeline #418105 passed with stage
in 33 seconds
......@@ -49,6 +49,7 @@ function getFeed(feedUrl, lastItem, callback) {
if (res.status != 200) {
reject();
callback(formatError({type:'Network error', status:res.status, message:'Bad server response'}));
}
var feedparser = new FeedParser();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment