Skip to content

Commit 8a63fa3

Browse files
joostlekfrenck
authored andcommitted
Log SmartThings subscription error on exception (#140939)
1 parent 983a2f5 commit 8a63fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homeassistant/components/smartthings/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def _handle_new_subscription_identifier(identifier: str | None) -> None:
139139
entry.data[CONF_TOKEN][CONF_INSTALLED_APP_ID],
140140
)
141141
except SmartThingsSinkError as err:
142-
_LOGGER.debug("Couldn't create a new subscription: %s", err)
142+
_LOGGER.exception("Couldn't create a new subscription")
143143
raise ConfigEntryNotReady from err
144144
subscription_id = subscription.subscription_id
145145
_handle_new_subscription_identifier(subscription_id)

0 commit comments

Comments
 (0)