auto-retry for some forecast data

This commit is contained in:
Matt Walsh
2022-12-12 13:53:33 -06:00
parent 76fd93e6e1
commit 5dd8f4bd62
16 changed files with 101 additions and 36 deletions

View File

@@ -63,6 +63,8 @@ class LocalForecast extends WeatherDisplay {
data: {
units: 'us',
},
retryCount: 3,
stillWaiting: () => this.stillWaiting(),
});
} catch (e) {
console.error(`GetWeatherForecast failed: ${weatherParameters.forecast}`);