mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Small log addition for samsungtv (#53206)
This commit is contained in:
parent
e8d7952880
commit
18bc2f95c8
@ -209,8 +209,8 @@ class SamsungTVLegacyBridge(SamsungTVBridge):
|
|||||||
except AccessDenied:
|
except AccessDenied:
|
||||||
LOGGER.debug("Working but denied config: %s", config)
|
LOGGER.debug("Working but denied config: %s", config)
|
||||||
return RESULT_AUTH_MISSING
|
return RESULT_AUTH_MISSING
|
||||||
except UnhandledResponse:
|
except UnhandledResponse as err:
|
||||||
LOGGER.debug("Working but unsupported config: %s", config)
|
LOGGER.debug("Working but unsupported config: %s, error: %s", config, err)
|
||||||
return RESULT_NOT_SUPPORTED
|
return RESULT_NOT_SUPPORTED
|
||||||
except (ConnectionClosed, OSError) as err:
|
except (ConnectionClosed, OSError) as err:
|
||||||
LOGGER.debug("Failing config: %s, error: %s", config, err)
|
LOGGER.debug("Failing config: %s, error: %s", config, err)
|
||||||
@ -289,8 +289,10 @@ class SamsungTVWSBridge(SamsungTVBridge):
|
|||||||
config[CONF_TOKEN] = "*****"
|
config[CONF_TOKEN] = "*****"
|
||||||
LOGGER.debug("Working config: %s", config)
|
LOGGER.debug("Working config: %s", config)
|
||||||
return RESULT_SUCCESS
|
return RESULT_SUCCESS
|
||||||
except WebSocketException:
|
except WebSocketException as err:
|
||||||
LOGGER.debug("Working but unsupported config: %s", config)
|
LOGGER.debug(
|
||||||
|
"Working but unsupported config: %s, error: %s", config, err
|
||||||
|
)
|
||||||
result = RESULT_NOT_SUPPORTED
|
result = RESULT_NOT_SUPPORTED
|
||||||
except (OSError, ConnectionFailure) as err:
|
except (OSError, ConnectionFailure) as err:
|
||||||
LOGGER.debug("Failing config: %s, error: %s", config, err)
|
LOGGER.debug("Failing config: %s, error: %s", config, err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user