Merge pull request #54 from adv3nt3/fix/narrow-exception-handling

fix: narrow bare except Exception to specific types where safe
This commit is contained in:
Ben Sigman
2026-04-07 13:54:05 -07:00
committed by GitHub
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -660,7 +660,7 @@ def detect_entities(file_paths: list, max_files: int = 10) -> dict:
all_text.append(content)
all_lines.extend(content.splitlines())
files_read += 1
except Exception:
except OSError:
continue
combined_text = "\n".join(all_text)