mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Log exception before dialog
Using logging module, it won't prevent the dialog from displaying.
This commit is contained in:
parent
1f31085fc3
commit
ea5ac3748a
1 changed files with 1 additions and 2 deletions
|
@ -901,14 +901,13 @@ class LibrarySync(threading.Thread):
|
|||
self.run_internal()
|
||||
except Exception as e:
|
||||
window('emby_dbScan', clear=True)
|
||||
log.exception(e)
|
||||
xbmcgui.Dialog().ok(
|
||||
heading=lang(29999),
|
||||
line1=(
|
||||
"Library sync thread has exited! "
|
||||
"You should restart Kodi now. "
|
||||
"Please report this on the forum."))
|
||||
log.exception(e)
|
||||
raise
|
||||
|
||||
def run_internal(self):
|
||||
|
||||
|
|
Loading…
Reference in a new issue