Log failed folder getting
This commit is contained in:
@@ -87,6 +87,7 @@ class FileBrowser(Plugin):
|
|||||||
try:
|
try:
|
||||||
dirs = self.getDirectories(path = path, show_hidden = show_hidden)
|
dirs = self.getDirectories(path = path, show_hidden = show_hidden)
|
||||||
except:
|
except:
|
||||||
|
log.error('Failed getting directory "%s" : %s', (path, traceback.format_exc()))
|
||||||
dirs = []
|
dirs = []
|
||||||
|
|
||||||
parent = os.path.dirname(path.rstrip(os.path.sep))
|
parent = os.path.dirname(path.rstrip(os.path.sep))
|
||||||
|
|||||||
Reference in New Issue
Block a user