We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a316e7 commit 0879ae0Copy full SHA for 0879ae0
src/vorta/utils.py
@@ -121,7 +121,8 @@ def get_directory_size(dir_path, exclude_patterns):
121
if not is_excluded:
122
data_size_filtered += stat.st_size
123
seen_filtered.add(stat.st_ino)
124
- except (FileNotFoundError, PermissionError):
+ except (FileNotFoundError, PermissionError, OSError):
125
+ # OSError is thrown when the file path name exceeds the maximum length allowed by the operating system
126
continue
127
128
files_count_filtered = len(seen_filtered)
0 commit comments