mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 02:14:49 +00:00
Fix: Skip broken links in _iter_gitignore_files #1435
This commit is contained in:
1 parent
5dd1a41000
commit
6dfda8c99e
1 file changed
+3
@@ -173,6 +173,9 @@ class GitignoreParser:
|
||||
except PermissionError as ex:
|
||||
log.debug(f"Skipping entry due to permission error: {entry.path}", exc_info=ex)
|
||||
continue
|
||||
except FileNotFoundError as ex:
|
||||
log.debug(f"Skipping entry due to file not found error (possibly a broken link): {entry.path}", exc_info=ex)
|
||||
continue
|
||||
|
||||
while queue:
|
||||
next_abs_path = queue.pop(0)
|
||||
|
||||
Reference in new issue
Block a user