mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Don't log the stack trace (#69000)
This commit is contained in:
parent
70922f9733
commit
3bc2586874
@ -447,7 +447,7 @@ class KodiEntity(MediaPlayerEntity):
|
||||
except (jsonrpc_base.jsonrpc.TransportError, CannotConnectError):
|
||||
if not self._connect_error:
|
||||
self._connect_error = True
|
||||
_LOGGER.error("Unable to connect to Kodi via websocket", exc_info=True)
|
||||
_LOGGER.error("Unable to connect to Kodi via websocket")
|
||||
await self._clear_connection(False)
|
||||
|
||||
async def _ping(self):
|
||||
@ -456,7 +456,7 @@ class KodiEntity(MediaPlayerEntity):
|
||||
except (jsonrpc_base.jsonrpc.TransportError, CannotConnectError):
|
||||
if not self._connect_error:
|
||||
self._connect_error = True
|
||||
_LOGGER.error("Unable to ping Kodi via websocket", exc_info=True)
|
||||
_LOGGER.error("Unable to ping Kodi via websocket")
|
||||
await self._clear_connection()
|
||||
|
||||
async def _async_connect_websocket_if_disconnected(self, *_):
|
||||
|
Loading…
x
Reference in New Issue
Block a user