Small log addition for samsungtv (#53206)
parent
e8d7952880
commit
18bc2f95c8
|
@ -209,8 +209,8 @@ class SamsungTVLegacyBridge(SamsungTVBridge):
|
|||
except AccessDenied:
|
||||
LOGGER.debug("Working but denied config: %s", config)
|
||||
return RESULT_AUTH_MISSING
|
||||
except UnhandledResponse:
|
||||
LOGGER.debug("Working but unsupported config: %s", config)
|
||||
except UnhandledResponse as err:
|
||||
LOGGER.debug("Working but unsupported config: %s, error: %s", config, err)
|
||||
return RESULT_NOT_SUPPORTED
|
||||
except (ConnectionClosed, OSError) as err:
|
||||
LOGGER.debug("Failing config: %s, error: %s", config, err)
|
||||
|
@ -289,8 +289,10 @@ class SamsungTVWSBridge(SamsungTVBridge):
|
|||
config[CONF_TOKEN] = "*****"
|
||||
LOGGER.debug("Working config: %s", config)
|
||||
return RESULT_SUCCESS
|
||||
except WebSocketException:
|
||||
LOGGER.debug("Working but unsupported config: %s", config)
|
||||
except WebSocketException as err:
|
||||
LOGGER.debug(
|
||||
"Working but unsupported config: %s, error: %s", config, err
|
||||
)
|
||||
result = RESULT_NOT_SUPPORTED
|
||||
except (OSError, ConnectionFailure) as err:
|
||||
LOGGER.debug("Failing config: %s, error: %s", config, err)
|
||||
|
|
Loading…
Reference in New Issue