Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 87b0c7f

Browse files
Tiago Ribeirojuliemr
Tiago Ribeiro
authored andcommitted
fix(debug): display error message when runner fails
1 parent 6603a7e commit 87b0c7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/runFromLauncher.js

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ process.on('message', function(m) {
3131
var runner = new Runner(config);
3232
runner.run().then(function(exitCode) {
3333
process.exit(exitCode);
34+
}).catch(function(err) {
35+
console.log(err.message);
36+
37+
process.exit();
3438
});
3539
break;
3640
default:

0 commit comments

Comments
 (0)