Skip to content

Commit

Permalink
Show error stack traces
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Jan 24, 2018
1 parent 004adc6 commit a133de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.js
Expand Up @@ -47,7 +47,7 @@ function run(str, opts, isWatch) {
if (!opts.watch) process.exit(0);
})
.catch(err => {
process.stderr.write(String(err && err.message || err) + '\n');
process.stderr.write(String(err) + '\n');
process.exit(err.code || 1);
});
}

0 comments on commit a133de8

Please sign in to comment.