From e8a3645bc68d6c2d22c8112ea62668157ff0eb10 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 1 Feb 2015 12:18:31 +0100 Subject: [PATCH] Log failed folder getting --- couchpotato/core/plugins/browser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/couchpotato/core/plugins/browser.py b/couchpotato/core/plugins/browser.py index 632375d..660070a 100644 --- a/couchpotato/core/plugins/browser.py +++ b/couchpotato/core/plugins/browser.py @@ -87,6 +87,7 @@ class FileBrowser(Plugin): try: dirs = self.getDirectories(path = path, show_hidden = show_hidden) except: + log.error('Failed getting directory "%s" : %s', (path, traceback.format_exc())) dirs = [] parent = os.path.dirname(path.rstrip(os.path.sep))