mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Log SmartThings subscription error on exception (#140939)
This commit is contained in:
parent
4344e9d604
commit
100e4425e4
@ -141,7 +141,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: SmartThingsConfigEntry)
|
||||
entry.data[CONF_TOKEN][CONF_INSTALLED_APP_ID],
|
||||
)
|
||||
except SmartThingsSinkError as err:
|
||||
_LOGGER.debug("Couldn't create a new subscription: %s", err)
|
||||
_LOGGER.exception("Couldn't create a new subscription")
|
||||
raise ConfigEntryNotReady from err
|
||||
subscription_id = subscription.subscription_id
|
||||
_handle_new_subscription_identifier(subscription_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user