Skip to content
Snippets Groups Projects
Commit fa168733 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Reduce "Unable to stat file" warnings to debug messages as these are sometimes by design.

parent fc310cf7
No related branches found
No related tags found
No related merge requests found
......@@ -175,9 +175,7 @@ def compare_meta(path1, path2):
stat1 = os.lstat(path1)
stat2 = os.lstat(path2)
except Exception as e:
logger.warning(
f'Unable to stat file "{path1}" or "{path2}" ({str(e)})'
)
logger.debug(f'Unable to stat file "{path1}" or "{path2}" ({str(e)})')
return []
differences = []
......
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