mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-09-18 12:34:39 +00:00
add exception string to an event
log sync failed events
This commit is contained in:
parent
6b446ff1a1
commit
fb0ae730a0
2 changed files with 16 additions and 3 deletions
|
@ -975,6 +975,9 @@ class LibrarySync(threading.Thread):
|
|||
elif "401" in e:
|
||||
pass
|
||||
except Exception as e:
|
||||
ga = GoogleAnalytics()
|
||||
errStr = ga.formatException()
|
||||
ga.sendEventData("Exception", errStr)
|
||||
window('emby_dbScan', clear=True)
|
||||
log.exception(e)
|
||||
xbmcgui.Dialog().ok(
|
||||
|
@ -982,7 +985,8 @@ class LibrarySync(threading.Thread):
|
|||
line1=(
|
||||
"Library sync thread has exited! "
|
||||
"You should restart Kodi now. "
|
||||
"Please report this on the forum."))
|
||||
"Please report this on the forum."),
|
||||
line2=(errStr))
|
||||
|
||||
def run_internal(self):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue