Calendar fetch error is still a loading result

Also log error on node side as well.
This commit is contained in:
Matt Bauer
2019-06-13 15:52:49 -05:00
parent a6284e05e5
commit d41afa0e53
2 changed files with 2 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ module.exports = NodeHelper.create({
});
fetcher.onError(function(fetcher, error) {
console.error("Calendar Error. Could not fetch calendar: ", fetcher.url(), error)
self.sendSocketNotification("FETCH_ERROR", {
url: fetcher.url(),
error: error