gruntjs / grunt-lib-phantomjs

Grunt and PhantomJS, sitting in a tree.
http://gruntjs.com/
MIT License
93 stars 63 forks source link

Add a handler for phantom.onError #67

Closed parlarjb closed 10 years ago

parlarjb commented 10 years ago

As of PhantomJS 1.5, there is a phantom.onError handler for catching errors not caught by page.onError http://phantomjs.org/api/phantom/handler/on-error.html

I have this sending an event with the same name as used by page.onError