Skip to content

Commit

Permalink
Fixes #1020
Browse files Browse the repository at this point in the history
  • Loading branch information
petkaantonov committed Feb 25, 2016
1 parent 7094e16 commit 10f1b8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ Async.prototype.haveItemsQueued = function () {

Async.prototype.fatalError = function(e, isNode) {
if (isNode) {
process.stderr.write("Fatal " + (e instanceof Error ? e.stack : e));
process.stderr.write("Fatal " + (e instanceof Error ? e.stack : e) +
"\n");
process.exit(2);
} else {
this.throwLater(e);
Expand Down

0 comments on commit 10f1b8f

Please sign in to comment.