home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.35k stars 656 forks source link

Catch all health connect exceptions so we dont crash #4830

Closed dshokouhi closed 6 days ago

dshokouhi commented 6 days ago

Summary

Fixes: #4829 by catching the exceptions so the app does not crash

Screenshots

data is still good

image

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

Any other notes

dshokouhi commented 6 days ago

should this somehow be exposed / allow the user to limit update frequency for HC independently?

feels like lots of others will request independent updates, ideally all users will have foreground reads here i think