Increase logging

This commit is contained in:
croneter 2020-02-25 17:21:15 +01:00
parent cc44c72cd6
commit f524674b68

View file

@ -34,9 +34,12 @@ def set_playurl(api, item):
LOG.info('Lets ask the PMS next')
try:
_pms_playback_decision(api, item)
except (exceptions.RequestException, AttributeError, IndexError, SystemExit) as err:
except (exceptions.RequestException,
AttributeError,
IndexError,
SystemExit):
LOG.warn('Could not find suitable settings for playback, aborting')
LOG.warn('Error received: %s', err)
utils.ERROR(notify=True)
item.playmethod = None
item.file = None
else: