Skip to content

Commit

Permalink
Exit with error status on logger.dump_logs()
Browse files Browse the repository at this point in the history
  • Loading branch information
smfreegard committed Dec 13, 2012
1 parent 7f9816b commit dd7032b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ logger.dump_logs = function (exit) {
console.log(log_item.data);
}
if (exit) {
process.exit();
process.exit(1);
}
}

Expand Down

0 comments on commit dd7032b

Please sign in to comment.