mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix fast sync exception catching
As it will no longer apply typeerror/keyerror exceptions
This commit is contained in:
parent
69e56acc81
commit
8a295347f8
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ class LibrarySync(threading.Thread):
|
||||||
'remove': result['ItemsRemoved']
|
'remove': result['ItemsRemoved']
|
||||||
}
|
}
|
||||||
|
|
||||||
except (KeyError, TypeError):
|
except Exception as error: # To be reviewed to only catch specific errors.
|
||||||
|
log.error(error)
|
||||||
log.error("Failed to retrieve latest updates using fast sync.")
|
log.error("Failed to retrieve latest updates using fast sync.")
|
||||||
xbmcgui.Dialog().ok(lang(29999), lang(33095))
|
xbmcgui.Dialog().ok(lang(29999), lang(33095))
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue