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

Enhancement: Enable error logging for pydantic ValidationError #239

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

CM000n
Copy link
Collaborator

@CM000n CM000n commented Feb 14, 2024

By enabling the _LOGGER.error() level for pydantic ValidationError cases, we should get more information about them within the Home Assistant logging.
This makes it easier for users to understand where a possible error comes from.

See also: #238

@CM000n CM000n self-assigned this Feb 14, 2024
@CM000n CM000n linked an issue Feb 14, 2024 that may be closed by this pull request
@DurgNomis-drol DurgNomis-drol merged commit f68b684 into master Feb 17, 2024
5 checks passed
@CM000n CM000n deleted the enhancement/improve_logging branch February 17, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed setup and no logs
2 participants