mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 17:19:30 -07:00
auto-retry for some forecast data
This commit is contained in:
@@ -63,6 +63,8 @@ class LocalForecast extends WeatherDisplay {
|
||||
data: {
|
||||
units: 'us',
|
||||
},
|
||||
retryCount: 3,
|
||||
stillWaiting: () => this.stillWaiting(),
|
||||
});
|
||||
} catch (e) {
|
||||
console.error(`GetWeatherForecast failed: ${weatherParameters.forecast}`);
|
||||
|
||||
Reference in New Issue
Block a user