blackbeam / poppler-simple

A simple javascript interface to poppler library
Apache License 2.0
37 stars 14 forks source link

String is thrown instead of an Error #6

Closed mgartner closed 9 years ago

mgartner commented 9 years ago

Due to the recent changes to this line for Node v0.12 support, when supplying a damaged PDF a string is thrown instead of an error. It used to be an instance of an Error, which I think is more correct.

blackbeam commented 9 years ago

Ahh.. What a stupid mistake. Anyway, fix published as 0.1.10.

mgartner commented 9 years ago

Thanks! :+1: