brenden / node-webshot

Easy website screenshots in Node.js
2.12k stars 285 forks source link

Errors are not detected when takeShotOnCallback is true #156

Closed yosserO closed 8 years ago

yosserO commented 8 years ago

Hi,

I have the option takeShotOnCallback set to true. When I give an url that does not exist, the error object is still undefined. If I set the takeShotOnCallback option to false, the error is detected.

Thank you