Add traceback to library sync
This commit is contained in:
parent
a5d37caef0
commit
58d986f4ad
1 changed files with 14 additions and 0 deletions
|
@ -290,6 +290,8 @@ class Movies(Items):
|
|||
self.logMsg('itemtypes.py for movies has crashed for item %s. '
|
||||
'Error:' % item.attrib.get('ratingKey', None), -1)
|
||||
self.logMsg(e, -1)
|
||||
import traceback
|
||||
self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0)
|
||||
self.logMsg('The item xml is:', -1)
|
||||
try:
|
||||
import xml.etree.cElementTree as etree
|
||||
|
@ -929,6 +931,8 @@ class TVShows(Items):
|
|||
self.logMsg('itemtypes.py for tv show has crashed for item %s. '
|
||||
'Error:' % item.attrib.get('ratingKey', None), -1)
|
||||
self.logMsg(e, -1)
|
||||
import traceback
|
||||
self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0)
|
||||
self.logMsg('The item xml is:', -1)
|
||||
try:
|
||||
import xml.etree.cElementTree as etree
|
||||
|
@ -1132,6 +1136,8 @@ class TVShows(Items):
|
|||
self.logMsg('itemtypes.py for tv seasons has crashed for item %s. '
|
||||
'Error:' % item.attrib.get('ratingKey', None), -1)
|
||||
self.logMsg(e, -1)
|
||||
import traceback
|
||||
self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0)
|
||||
self.logMsg('The item xml is:', -1)
|
||||
try:
|
||||
import xml.etree.cElementTree as etree
|
||||
|
@ -1183,6 +1189,8 @@ class TVShows(Items):
|
|||
self.logMsg('itemtypes.py for tv episode has crashed for item %s. '
|
||||
'Error:' % item.attrib.get('ratingKey', None), -1)
|
||||
self.logMsg(e, -1)
|
||||
import traceback
|
||||
self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0)
|
||||
self.logMsg('The item xml is:', -1)
|
||||
try:
|
||||
import xml.etree.cElementTree as etree
|
||||
|
@ -1670,6 +1678,8 @@ class Music(Items):
|
|||
'item %s. Error:'
|
||||
% item.attrib.get('ratingKey', None), -1)
|
||||
self.logMsg(e, -1)
|
||||
import traceback
|
||||
self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0)
|
||||
self.logMsg('The item xml is:', -1)
|
||||
try:
|
||||
import xml.etree.cElementTree as etree
|
||||
|
@ -1772,6 +1782,8 @@ class Music(Items):
|
|||
'item %s. Error:'
|
||||
% item.attrib.get('ratingKey', None), -1)
|
||||
self.logMsg(e, -1)
|
||||
import traceback
|
||||
self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0)
|
||||
self.logMsg('The item xml is:', -1)
|
||||
try:
|
||||
import xml.etree.cElementTree as etree
|
||||
|
@ -1976,6 +1988,8 @@ class Music(Items):
|
|||
'item %s. Error:'
|
||||
% item.attrib.get('ratingKey', None), -1)
|
||||
self.logMsg(e, -1)
|
||||
import traceback
|
||||
self.logMsg("Traceback:\n%s" % traceback.format_exc(), 0)
|
||||
self.logMsg('The item xml is:', -1)
|
||||
try:
|
||||
import xml.etree.cElementTree as etree
|
||||
|
|
Loading…
Reference in a new issue