gruntjs/grunt-lib-phantomjs — pull request #67 by parlarjb (2014-08-01 18:05:39+00:00)
Title: Add a handler for phantom.onError

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`