More logging

This commit is contained in:
tomkat83 2016-04-13 16:26:09 +02:00
parent 0b1a53e839
commit 722dce78d2

View file

@ -975,6 +975,9 @@ class LibrarySync(Thread):
try: try:
xml[0].attrib xml[0].attrib
except (TypeError, AttributeError, IndexError): except (TypeError, AttributeError, IndexError):
self.logMsg('Error updating watch status. Could not get viewId: '
'%s of itemType %s with lastViewedAt: %s, updatedAt: '
'%s' % (viewId, itemType, lastViewedAt, updatedAt), -1)
return return
if itemType in ('Movies', 'TVShows'): if itemType in ('Movies', 'TVShows'):