mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
add extra into the the exception event label
This commit is contained in:
parent
d9b9901a04
commit
d5b7a51bb4
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@ class GoogleAnalytics():
|
||||||
if(stackFrames != None):
|
if(stackFrames != None):
|
||||||
fileName = os.path.split(stackFrames[0])[1]
|
fileName = os.path.split(stackFrames[0])[1]
|
||||||
|
|
||||||
errorFile = "%s:%s" % (fileName, stackFrames[1])
|
errorFile = "%s:%s(%s)(%s)" % (fileName, stackFrames[1], exc_obj.message, stackFrames[3].strip())
|
||||||
|
errorFile = errorFile[0:499]
|
||||||
errorType = "%s" % (exc_type.__name__)
|
errorType = "%s" % (exc_type.__name__)
|
||||||
del(exc_type, exc_obj, exc_tb)
|
del(exc_type, exc_obj, exc_tb)
|
||||||
log.error(errorType + " - " + errorFile)
|
log.error(errorType + " - " + errorFile)
|
||||||
|
|
Loading…
Reference in a new issue