fixed crash on console

This commit is contained in:
Martin Guether 2017-04-07 11:58:29 +02:00
parent f9cf8ba7e8
commit af5335025f
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ module.exports = {
phantom.create({ path: require('phantomjs-prebuilt').path }, function (err, browser) { phantom.create({ path: require('phantomjs-prebuilt').path }, function (err, browser) {
if(err){ if(err){
console.err(err); console.log(err);
}else{ }else{
return browser.createPage(function (err, page) { return browser.createPage(function (err, page) {
console.log("page created, opening ",space_url); console.log("page created, opening ",space_url);