mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Log SmartThings subscription error on exception (#140939)
This commit is contained in:
committed by
GitHub
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)
|
||||
|
Reference in New Issue
Block a user