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

Allow HomeAssistant Connector to work with Debug=False (and logging improvements) #3302

Conversation

mikhail5555
Copy link
Contributor

@mikhail5555 mikhail5555 commented Sep 13, 2024

Seems that when Debug=false the 'ConnectorManager' instance gets cleaned up by the garbage collector because nothing is referencing it (the post_save and post_delete are 'weak' references to the object. This issue for some reason does not happen when Debug=true.
Also improved logging so its not logging the headers which contain sensitive information.

Closes #3213

@mikhail5555 mikhail5555 changed the title dont log err.headers which can contain sensitive info Allow HomeAssistant Connector to work with Debug=False (and logging improvements) Sep 17, 2024
@vabene1111 vabene1111 merged commit 6b376fb into TandoorRecipes:develop Sep 23, 2024
2 checks passed
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.

Home Assistant Connector
2 participants