From 8a295347f824f9832bb4e98e658242a1da5d044d Mon Sep 17 00:00:00 2001
From: angelblue05 <tamara.angel05@gmail.com>
Date: Wed, 30 Nov 2016 14:21:54 -0600
Subject: [PATCH] Fix fast sync exception catching

As it will no longer apply typeerror/keyerror exceptions
---
 resources/lib/librarysync.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py
index a7295f48..7d796042 100644
--- a/resources/lib/librarysync.py
+++ b/resources/lib/librarysync.py
@@ -147,7 +147,8 @@ class LibrarySync(threading.Thread):
                 '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.")
             xbmcgui.Dialog().ok(lang(29999), lang(33095))
             return False