From 63f919e9572942a21e2620a5a69c1e376a414610 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Sun, 15 Dec 2024 11:07:26 +0100 Subject: [PATCH] Let unknown exceptions pass through --- custom_components/polestar_api/config_flow.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/custom_components/polestar_api/config_flow.py b/custom_components/polestar_api/config_flow.py index 0876c3f..e0a995f 100644 --- a/custom_components/polestar_api/config_flow.py +++ b/custom_components/polestar_api/config_flow.py @@ -53,9 +53,6 @@ async def async_step_user(self, user_input: dict | None = None) -> ConfigFlowRes except PolestarApiException as exc: _LOGGER.error(exc) _errors["base"] = "api" - except Exception as exc: - _LOGGER.error(exc) - _errors["base"] = "unknown" else: return self.async_create_entry( title=f"Polestar EV for {username}",