Refaktor newsfeed error once again for better messaging to the user

This commit is contained in:
veeck
2021-05-02 10:24:22 +02:00
parent aeefe28710
commit d43a57af36
5 changed files with 20 additions and 11 deletions

View File

@@ -90,7 +90,7 @@ const NewsfeedFetcher = function (url, reloadInterval, encoding, logFeedWarnings
response.body.pipe(iconv.decodeStream(encoding)).pipe(parser);
})
.catch((error) => {
fetchFailedCallback(this, error.message);
fetchFailedCallback(this, error);
scheduleTimer();
});
};