Skip to content

Report OCR processing errors without page results - #1

Merged
ctoth merged 3 commits into
masterfrom
modernize/task6-ocrspace
Oct 21, 2026
Merged

ctoth merged 3 commits into
masterfrom
modernize/task6-ocrspace

Conversation

@ctoth

@ctoth ctoth commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

OCR URL and file requests now raise APIError for provider processing failures when no page results were returned, instead of failing while indexing ParsedResults. Preserves existing supplied and partial page-result handling, successful return shapes, and page-error behavior.

Validation: python -B -m unittest -v test_ocrspace.py (4 passed).

@ctoth
ctoth marked this pull request as ready for review October 21, 2026 00:00
@ctoth
ctoth merged commit 7a63909 into master Oct 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant