Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for weather module not refreshing data after exception #1724

Merged
merged 1 commit into from
Jul 11, 2019
Merged

Fix for weather module not refreshing data after exception #1724

merged 1 commit into from
Jul 11, 2019

Conversation

vincep5
Copy link
Contributor

@vincep5 vincep5 commented Jul 11, 2019

fix for #1722 When there is an exception in the API call for weather data, the code is never called again to execute a data refresh. That part only occurs when there was a successful call. This change has a finally block to do the notification that there is data available and sets the setTimeout interval to fetch data at the next try.

@MichMich MichMich merged commit 32521ab into MagicMirrorOrg:develop Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants