From 646042df8242dd9016c33f2b30b6e7d6665bd3da Mon Sep 17 00:00:00 2001 From: Fernando Date: Thu, 19 Feb 2015 20:11:37 -0200 Subject: [PATCH 1/2] Update traktchecker - remove traceback --- sickbeard/traktChecker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/traktChecker.py b/sickbeard/traktChecker.py index 84c68b07..db456033 100644 --- a/sickbeard/traktChecker.py +++ b/sickbeard/traktChecker.py @@ -53,8 +53,8 @@ class TraktChecker(): # sync trakt.tv library with sickrage library if sickbeard.TRAKT_SYNC: self.syncLibrary() - except Exception: - logger.log(traceback.format_exc(), logger.DEBUG) + xcept Exception as e: + logger.log('Trakt: Error Syncing library. Reason: {0}'.format(str(e)), logger.DEBUG) def findShow(self, indexer, indexerid): traktShow = None From 74d49cc2fd31dedb13b2cad86a20ca3cee95c6d9 Mon Sep 17 00:00:00 2001 From: Fernando Date: Thu, 19 Feb 2015 20:13:39 -0200 Subject: [PATCH 2/2] Update traktchecker - remove traceback --- sickbeard/traktChecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/traktChecker.py b/sickbeard/traktChecker.py index db456033..dfe5b5ac 100644 --- a/sickbeard/traktChecker.py +++ b/sickbeard/traktChecker.py @@ -53,7 +53,7 @@ class TraktChecker(): # sync trakt.tv library with sickrage library if sickbeard.TRAKT_SYNC: self.syncLibrary() - xcept Exception as e: + except Exception as e: logger.log('Trakt: Error Syncing library. Reason: {0}'.format(str(e)), logger.DEBUG) def findShow(self, indexer, indexerid):