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

Avoid an empty forecast if there's an issue with the weather api #2355

Merged
merged 1 commit into from Mar 9, 2023

Conversation

tronical
Copy link
Member

@tronical tronical commented Mar 9, 2023

In case we fail to retrieve a forecast, don't empty the current forecast shown. After all, this is just a demo, not a forecast that anybody should rely on. Therefore it's better to show something than have an empty widget :)

In case we fail to retrieve a forecast, don't empty the current forecast
shown. After all, this is just a demo, not a forecast that anybody
should rely on. Therefore it's better to show something than have an
empty widget :)
@tronical tronical requested a review from FloVanGH March 9, 2023 08:05
Copy link
Member

@FloVanGH FloVanGH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right. Looks good to me.

@tronical tronical merged commit 7d178ed into master Mar 9, 2023
20 checks passed
@tronical tronical deleted the simon/em-network branch March 9, 2023 08:11
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.

None yet

2 participants