Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion core/routes/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ async def get_document_by_filename(
raise HTTPException(status_code=404, detail=f"Document with filename '{filename}' not found")
return doc
except HTTPException as e:
logger.error(f"Error getting document by filename: {e}")
if e.status_code >= 500:
logger.error(f"Error getting document by filename: {e}")
raise e


Expand Down
2 changes: 1 addition & 1 deletion core/services/ingestion_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,7 @@ def _convert_office_to_images(
],
capture_output=True,
text=True,
timeout=90,
timeout=300,
)

if result.returncode != 0:
Expand Down
Loading