Skip to content
Snippets Groups Projects
Commit 3dcf9ec8 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #9351 #9353 #9355: log message

parent d816fa49
No related branches found
No related tags found
No related merge requests found
......@@ -307,7 +307,9 @@ class CacheManager:
if path in self._cache['paths']:
result = self._cache['paths'][path]
else:
result = { 'found': False, 'path':path }
result = { 'found': False, 'path':path, 'message': 'unknown error' }
if not self.disk_usage.path_resolver.pathExists(path):
result['message'] = 'No such path: %s' % path
logger.info('cache.getDiskUsageForPath result: %s' % result)
return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment