HummusJS
HummusJS copied to clipboard
Hummus get stuck while trying to load broken PDF
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.
I'm seeing the same issue.
the error handling is not great in general