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

Aeris/Xweather unavailable fixes #974

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

uajqq
Copy link
Contributor

@uajqq uajqq commented Jan 14, 2025

This is a fix for #904 and #959, both errors related to Aeris/Xweather. I have no idea why the diff looks so insane -- if you know how to fix this please tell me -- but all I did is wrap the entire forecast block in a try block, so exceptions can be handled gracefully and rendering can continue if any step fails. I also added a block (line 1412) that specifically catches the IOError that only happens on the first time the skin is run, so an informational message can be logged instead.

@uajqq uajqq force-pushed the aeris_unavailable_fix branch from 5af3433 to 139c74e Compare January 15, 2025 00:33
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.

1 participant