From 1edb3c91b6be092fb26c8f23ee345294bba02464 Mon Sep 17 00:00:00 2001 From: Ron Klinkien Date: Tue, 4 Nov 2025 15:50:38 +0100 Subject: [PATCH] Fixed another syntax error --- custom_components/garmin_connect/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/garmin_connect/__init__.py b/custom_components/garmin_connect/__init__.py index 5bd2424..0fd3f55 100644 --- a/custom_components/garmin_connect/__init__.py +++ b/custom_components/garmin_connect/__init__.py @@ -122,8 +122,7 @@ class GarminConnectDataUpdateCoordinator(DataUpdateCoordinator): _LOGGER.exception( "Unknown error occurred during Garmin Connect login request" ) - "Connection error occurred during login: %s", err) - raise ConfigEntryNotReady from err + raise ConfigEntryNotReady except requests.exceptions.HTTPError as err: if err.response.status_code == 401: _LOGGER.error(