HummusJS icon indicating copy to clipboard operation
HummusJS copied to clipboard

Hummus get stuck while trying to load broken PDF

Open hiren-quovantis opened this issue 5 years ago • 2 comments

The hummus gets stuck/hangs at the following line while working with broken PDF: hummus.createReader(broken-file.pdf)

I would have expected it to throw an error but it does nothing. Is there a workaround that I could use? Or else, I'll have to add another library just to see if PDF is valid or not.

BTW, am a big fan of Hummus and really impressed with its overall performance and functionality.

hiren-quovantis avatar Aug 16 '19 12:08 hiren-quovantis

I'm seeing the same issue.

kilsen avatar Sep 05 '19 18:09 kilsen

the error handling is not great in general

goatandsheep avatar Sep 11 '19 17:09 goatandsheep