From e38cb01d8155b1c46ecf59f0e843ac50a94bea3f Mon Sep 17 00:00:00 2001 From: deosrc Date: Sun, 11 Feb 2024 13:07:54 +0000 Subject: [PATCH] Add missing log message for error resolving OAuth token (#107606) --- homeassistant/helpers/config_entry_oauth2_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/helpers/config_entry_oauth2_flow.py b/homeassistant/helpers/config_entry_oauth2_flow.py index fc740aa8a4b..d99cc1d4f76 100644 --- a/homeassistant/helpers/config_entry_oauth2_flow.py +++ b/homeassistant/helpers/config_entry_oauth2_flow.py @@ -327,6 +327,7 @@ class AbstractOAuth2FlowHandler(config_entries.ConfigFlow, metaclass=ABCMeta): _LOGGER.error("Timeout resolving OAuth token: %s", err) return self.async_abort(reason="oauth_timeout") except (ClientResponseError, ClientError) as err: + _LOGGER.error("Error resolving OAuth token: %s", err) if ( isinstance(err, ClientResponseError) and err.status == HTTPStatus.UNAUTHORIZED