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
@@ -305,7 +305,7 @@ def mine_convos(
# Normalize format
try:
content = normalize(str(filepath))
except Exception:
except (OSError, ValueError):
continue
if not content or len(content.strip()) < MIN_CHUNK_SIZE: