mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +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):
|
||||
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__)
|
||||
del(exc_type, exc_obj, exc_tb)
|
||||
log.error(errorType + " - " + errorFile)
|
||||
|
|
Loading…
Reference in a new issue