Skip to content

Commit

Permalink
remove pylint broad-excep
Browse files Browse the repository at this point in the history
  • Loading branch information
tr4nt0r committed May 28, 2024
1 parent d18dcae commit c5e6b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/habitica/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async def async_step_login(
errors["base"] = "invalid_auth"
else:
errors["base"] = "cannot_connect"
except Exception: # pylint: disable=broad-except
except Exception:
_LOGGER.exception("Unexpected exception")
errors["base"] = "unknown"
else:
Expand Down Expand Up @@ -167,7 +167,7 @@ async def async_step_advanced(
errors["base"] = "invalid_auth"
else:
errors["base"] = "cannot_connect"
except Exception: # pylint: disable=broad-except
except Exception:
_LOGGER.exception("Unexpected exception")
errors["base"] = "unknown"
else:
Expand Down

0 comments on commit c5e6b26

Please sign in to comment.