Improve logging
This commit is contained in:
parent
f5a457a87d
commit
df7bfd2e0c
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ def delete_kodi_playlist(playlist):
|
||||||
os.remove(playlist.kodi_path)
|
os.remove(playlist.kodi_path)
|
||||||
except (OSError, IOError) as err:
|
except (OSError, IOError) as err:
|
||||||
LOG.error('Could not delete Kodi playlist file %s. Error:\n %s: %s',
|
LOG.error('Could not delete Kodi playlist file %s. Error:\n %s: %s',
|
||||||
playlist.kodi_path, err.errno, err.strerror)
|
playlist, err.errno, err.strerror)
|
||||||
raise PL.PlaylistError('Could not delete %s' % playlist.kodi_path)
|
raise PL.PlaylistError('Could not delete %s' % playlist.kodi_path)
|
||||||
else:
|
else:
|
||||||
update_plex_table(playlist, delete=True)
|
update_plex_table(playlist, delete=True)
|
||||||
|
|
Loading…
Reference in a new issue