mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Remove redundant logging from UptimeRobot config_flow (#142940)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user