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

Weather widget prints undefined from time to time #183

Open
stickyPiston opened this issue Jan 16, 2025 · 2 comments
Open

Weather widget prints undefined from time to time #183

stickyPiston opened this issue Jan 16, 2025 · 2 comments
Labels

Comments

@stickyPiston
Copy link
Member

On production, the weather widget sometimes displays undefined, and sometimes displays the temperature. Ideally, we want to cache the results from the weather api, if it fails to fetch.

@SamStaijen
Copy link
Contributor

Great idea, however, what would we do if we keep failing the fetch? I would assume we would want to get notified. Maybe make old (failover) data italic, and new (regular) data none?

sarcastic, hyperoptimistic, solution solution: "This sounds like a fun job for Prometheus/Zabbix"

@KoenDR06
Copy link
Contributor

KoenDR06 commented Feb 3, 2025

Hmm, strange. I wouldn't know why that happens, I'll look into it during the next commit session.

I think Sam's idea is a good one, where we make the text italic, or some other small indicator that something's gone wrong.

@KoenDR06 KoenDR06 assigned KoenDR06 and unassigned KoenDR06 Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants