Merge pull request #174 from adiktofsugar/master
Added handler for fail.load
This commit is contained in:
commit
c063f68da9
@ -176,6 +176,11 @@ module.exports = function(grunt) {
|
||||
return new Array(+times * tabstop).join(' ');
|
||||
}
|
||||
|
||||
phantomjs.on('fail.load', function() {
|
||||
grunt.log.writeln();
|
||||
grunt.warn('PhantomJS failed to load your page.', 90);
|
||||
});
|
||||
|
||||
phantomjs.on('fail.timeout', function() {
|
||||
grunt.log.writeln();
|
||||
grunt.warn('PhantomJS timed out, possibly due to an unfinished async spec.', 90);
|
||||
|
Loading…
Reference in New Issue
Block a user