mirror of
https://github.com/safishamsi/graphify.git
synced 2026-10-27 09:06:14 +00:00
extract_pdf_text wrapped the whole PdfReader loop in except Exception: return "", so a malformed or encrypted PDF looked exactly like a PDF with no text and dropped out of the graph with no trace. Keep returning "" (callers rely on it), but print a warning naming the file and the error first. Warn once per path, since detect() and the semantic pass both read the same file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>