kodi: remove traceback on state check
If the computer is sleeping that are running xbmc then the traceback is printed in the log all the time. Keep the traceback in debug mode of the module if needed. Signed-off-by: Robert Marklund <robbelibobban@gmail.com>pull/953/head
parent
1098194a89
commit
0bdd293572
|
@ -72,7 +72,8 @@ class KodiDevice(MediaPlayerDevice):
|
||||||
try:
|
try:
|
||||||
return self._server.Player.GetActivePlayers()
|
return self._server.Player.GetActivePlayers()
|
||||||
except jsonrpc_requests.jsonrpc.TransportError:
|
except jsonrpc_requests.jsonrpc.TransportError:
|
||||||
_LOGGER.exception('Unable to fetch kodi data')
|
_LOGGER.warning('Unable to fetch kodi data')
|
||||||
|
_LOGGER.debug('Unable to fetch kodi data', exc_info=True)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue