Adding exception msgs

This commit is contained in:
Yordan Suarez
2020-06-28 20:59:18 +00:00
parent 9a213ef4bc
commit 7de8c9926b
2 changed files with 5 additions and 5 deletions

View File

@@ -45,8 +45,8 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
async_add_entities(fpl_accounts)
except Exception: # pylint: disable=broad-except
pass
except Exception as e: # pylint: disable=broad-except
_LOGGER.error(f"Adding fpl accounts: {e}")
await session.close()