mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Remove redundant logging from UptimeRobot config_flow (#142940)
This commit is contained in:
parent
be6e1e5e15
commit
0479fc6f54
@ -44,11 +44,9 @@ class UptimeRobotConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
|
||||
try:
|
||||
response = await uptime_robot_api.async_get_account_details()
|
||||
except UptimeRobotAuthenticationException as exception:
|
||||
LOGGER.error(exception)
|
||||
except UptimeRobotAuthenticationException:
|
||||
errors["base"] = "invalid_api_key"
|
||||
except UptimeRobotException as exception:
|
||||
LOGGER.error(exception)
|
||||
except UptimeRobotException:
|
||||
errors["base"] = "cannot_connect"
|
||||
except Exception as exception: # noqa: BLE001
|
||||
LOGGER.exception(exception)
|
||||
|
Loading…
x
Reference in New Issue
Block a user