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

Harden data polling against exceptions #129

Merged
merged 2 commits into from
Mar 29, 2024
Merged

Harden data polling against exceptions #129

merged 2 commits into from
Mar 29, 2024

Conversation

torbennehmer
Copy link
Owner

@torbennehmer torbennehmer commented Mar 29, 2024

Harden e3dc data polling in coordinator to execptions:

  • Log ex only as warning, but continoue as good as possible. This will avoid breaking the entire update loop if one update fails (db_data does that right now).
  • Listen only on HomeAssistant-Type errors, not on ConfigEntryAuthFailed, let the latter propagate.
  • Reduce proxy error log level to debug, let upstream do the logging.

Affects the logging errors we see in #113, #124

Torben Nehmer added 2 commits March 29, 2024 08:47
Log ex only as warning, but continoue as good as possible. This will avoid breaking the entire update loop if one update fails (db_data does that right now).

Listen only on HomeAssistant-Type errors, not on ConfigEntryAuthFailed, let the latter propagate.
@torbennehmer torbennehmer added the bug Something isn't working label Mar 29, 2024
@torbennehmer torbennehmer self-assigned this Mar 29, 2024
@torbennehmer torbennehmer merged commit 1125e1a into main Mar 29, 2024
5 checks passed
@torbennehmer torbennehmer deleted the harden-polling branch March 29, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant