Log failed folder getting

This commit is contained in:
Ruud
2015-02-01 12:18:31 +01:00
parent 592e40993c
commit e8a3645bc6

View File

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