Fix fast sync exception catching

As it will no longer apply typeerror/keyerror exceptions
This commit is contained in:
angelblue05 2016-11-30 14:21:54 -06:00
parent 69e56acc81
commit 8a295347f8

View file

@ -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