fagbokforlaget / pdfinfojs

pdfinfo JS wrapper
MIT License
2 stars 4 forks source link

Handle when pdfinfo chokes. #7

Closed et closed 6 years ago

et commented 6 years ago

pdfinfo cannot handle a password protected file. Hence, the error for this would get swallowed since this only goes to stderr. Now it is rejected so it can be handled by the consumer.

iapain commented 6 years ago

@et Thanks for PR. I am about to merge it. Please note that by sending a PR you agree to MIT license of your contribution. If you have any objection please let me know I will revert it.

et commented 6 years ago

Thanks @iapain. Totally fine with the MIT license. Could you also publish a new release so I can pull the changes into my project?

iapain commented 6 years ago

@et published in v0.5.2. Thanks again for PR