Fix for weather module not refreshing data after exception

This commit is contained in:
vincep5
2019-07-11 12:49:24 -05:00
parent 776c486b1a
commit 819c4cde1c
6 changed files with 11 additions and 6 deletions

View File

@@ -35,6 +35,7 @@ WeatherProvider.register("weathergov", {
.catch(function(request) {
Log.error("Could not load data ... ", request);
})
.finally(() => this.updateAvailable())
},
// Overwrite the fetchCurrentWeather method.
@@ -53,6 +54,7 @@ WeatherProvider.register("weathergov", {
.catch(function(request) {
Log.error("Could not load data ... ", request);
})
.finally(() => this.updateAvailable())
},
/** Weather.gov Specific Methods - These are not part of the default provider methods */