diff --git a/lib/God.js b/lib/God.js index 98d165c8..353016a1 100644 --- a/lib/God.js +++ b/lib/God.js @@ -337,7 +337,6 @@ God.finalizeProcedure = function finalizeProcedure(proc) { vizionar({folder : current_path}, function recur_path(err, meta){ current_path = path.dirname(current_path); - debug('Trying folder %s', current_path, proc.pm2_env.name, proc.pm2_env.pm_id); if (err) @@ -354,7 +353,7 @@ God.finalizeProcedure = function finalizeProcedure(proc) { //God.notify('online', proc); } else { - debug('Retrying folder'); + debug('Retrying folder', meta); vizionar({folder : current_path}, recur_path); } }); diff --git a/test/index.sh b/test/index.sh index 6ba101ec..0519664c 100644 --- a/test/index.sh +++ b/test/index.sh @@ -25,7 +25,7 @@ $pm2 kill if [ $TRAVIS ] then - export DEBUG="*" + export DEBUG="pm2:*" fi mocha ./test/programmatic/god.mocha.js