1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 17:49:37 +01:00

Debug logging for config_entries (#163378)

This commit is contained in:
Josef Zweck
2026-02-19 00:46:06 +01:00
committed by GitHub
parent cd5775ca35
commit b398197c07
+3 -1
View File
@@ -798,6 +798,7 @@ class ConfigEntry[_DataT = Any]:
self.domain,
auth_message,
)
_LOGGER.debug("Full exception", exc_info=True)
self.async_start_reauth(hass)
except ConfigEntryNotReady as exc:
message = str(exc)
@@ -815,13 +816,14 @@ class ConfigEntry[_DataT = Any]:
)
self._tries += 1
ready_message = f"ready yet: {message}" if message else "ready yet"
_LOGGER.debug(
_LOGGER.info(
"Config entry '%s' for %s integration not %s; Retrying in %d seconds",
self.title,
self.domain,
ready_message,
wait_time,
)
_LOGGER.debug("Full exception", exc_info=True)
if hass.state is CoreState.running:
self._async_cancel_retry_setup = async_call_later(