diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index 2eac086e80..7da5efd0be 100755 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -135,6 +135,7 @@ Module.register("calendar", { } } else if (notification === "FETCH_ERROR") { Log.error("Calendar Error. Could not fetch calendar: " + payload.url); + this.loaded = true } else if (notification === "INCORRECT_URL") { Log.error("Calendar Error. Incorrect url: " + payload.url); } else { diff --git a/modules/default/calendar/node_helper.js b/modules/default/calendar/node_helper.js index 9c6e49795c..7d644ace19 100644 --- a/modules/default/calendar/node_helper.js +++ b/modules/default/calendar/node_helper.js @@ -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