pofider / phantom-html-to-pdf

Highly scalable html to pdf conversion using phantom workers
MIT License
159 stars 33 forks source link

throw when phantom path is empty #87

Open bjrmatos opened 6 years ago

bjrmatos commented 6 years ago

right now when phantom.exe is not there (probably because bad installation) the process silently exits.

we should throw in both strategies (here and in the phantom-workers package) when phantomPath from options is empty at this point.