mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Add a console.log in test.js when PhantomJS fails to load a given page.
This commit is contained in:
@@ -52,7 +52,8 @@
|
||||
var page = require('webpage').create();
|
||||
page.open(filePath, function(status) {
|
||||
if (status !== 'success') {
|
||||
phantom.exit(1);
|
||||
console.log('PhantomJS failed to load page: ' + filePath);
|
||||
phantom.exit(1);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user