We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a0ad20 commit ae102f1Copy full SHA for ae102f1
homeassistant/components/nyt_games/config_flow.py
@@ -9,7 +9,7 @@
9
from homeassistant.const import CONF_TOKEN
10
from homeassistant.helpers.aiohttp_client import async_get_clientsession
11
12
-from .const import DOMAIN
+from .const import DOMAIN, LOGGER
13
14
15
class NYTGamesConfigFlow(ConfigFlow, domain=DOMAIN):
@@ -30,6 +30,7 @@ async def async_step_user(
30
except NYTGamesError:
31
errors["base"] = "cannot_connect"
32
except Exception: # noqa: BLE001
33
+ LOGGER.exception("Unexpected error")
34
errors["base"] = "unknown"
35
else:
36
await self.async_set_unique_id(str(user_id))
0 commit comments