brenden / node-webshot

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

Capturing page JS errors and ignoring them to prevent polluting stdout #55

Closed sedan07 closed 10 years ago

sedan07 commented 10 years ago

Capturing page JS errors and ignoring them to prevent polluting stdout, which otherwise results in the creation of invalid image files when streaming as both the JS page errors and the base64 image are written to stdout.

brenden commented 10 years ago

Looks good, merging.