This commit is contained in:
Timothy Jaeryang Baek committed 2026-01-05 18:55:44 +04:00
1 parent d3ab9f4b96
commit 1d08376860
3 files changed
+23 -1

No files matched your search

+2
View File
@@ -1794,6 +1794,8 @@ def process_file(
{"status": "failed"},
db=db,
)
# Clear the hash so the file can be re-uploaded after fixing the issue
Files.update_file_hash_by_id(file.id, None, db=db)
if "No pandoc was found" in str(e):
raise HTTPException(