Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage errors due to invalid PDF files #93

Open
laritakr opened this issue Jan 26, 2023 · 0 comments
Open

Manage errors due to invalid PDF files #93

laritakr opened this issue Jan 26, 2023 · 0 comments

Comments

@laritakr
Copy link
Contributor

laritakr commented Jan 26, 2023

When a PDF doesn't have the appropriate information, the PagesIntoImagesService cannot break it into TIFFs.

The service defines invalid_pdf? which specifies all of the information which is needed by the service. This method could be put into use somewhere in ChildWorksFromPdfJob to prevent the job from indefinitely retrying due to the error, and possibly reporting the error as well.

Image

@laritakr laritakr changed the title Manage errors for invalid PDF files Manage errors due to invalid PDF files Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant