Skip to content

Commit

Permalink
fix(debug): display error message when runner fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiago Ribeiro authored and juliemr committed Mar 5, 2014
1 parent 6603a7e commit 87b0c7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/runFromLauncher.js
Expand Up @@ -31,6 +31,10 @@ process.on('message', function(m) {
var runner = new Runner(config);
runner.run().then(function(exitCode) {
process.exit(exitCode);
}).catch(function(err) {
console.log(err.message);

process.exit();
});
break;
default:
Expand Down

0 comments on commit 87b0c7f

Please sign in to comment.