Skip to content

Commit 7e4be9d

Browse files
committed
Adding some more logging
1 parent 4885b07 commit 7e4be9d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,16 @@ fs.removeAsync(config.screenshotRoot)
5353
if (branchInfo.branch !== 'master') {
5454
return gitInfo.getCommonAncestor(branchInfo.sha, 'master')
5555
.then(function(ancestor) {
56+
console.log('diffing against', ancestor);
57+
5658
return startBuild({
5759
head: branchInfo.sha,
5860
base: ancestor,
5961
numBrowsers: 1
60-
});
62+
})
63+
.then(function(build) {
64+
console.log('build', build.build);
65+
})
6166
});
6267
}
6368
})
@@ -73,6 +78,8 @@ fs.removeAsync(config.screenshotRoot)
7378
})
7479
.catch(function(e) {
7580
console.error(e);
81+
console.error(e.message);
82+
console.error(e.stack);
7683
});
7784

7885
return;

0 commit comments

Comments
 (0)