Skip to content

Commit

Permalink
Let unknown exceptions pass through
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Dec 15, 2024
1 parent 74683fe commit 63f919e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/polestar_api/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit 63f919e

Please sign in to comment.