-
Notifications
You must be signed in to change notification settings - Fork 120
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
How to prevent bad image files from causing core dumps #67
Labels
Comments
FYI, I believe I have fixed this in my fork: https://github.com/BookBub/phashion/commit/57f929892ffa856bb194b065fa4a7eafa5f89c35?w=1 |
@kohder glad you got a working solution. I'd be happy to pull those changes in if you think it would make a nice enhancement. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting core dumps whenever gem hits an image file that causes any kind of error. I've tried being defensive by checking all images with the FastImage gem beforehand but now crashing on an image that gets past the FastImage check.
Example:
How can I prevent the gem from crashing the Ruby process? A rescue block is not working in this case.
The text was updated successfully, but these errors were encountered: