Skip to content

Commit

Permalink
Merge pull request #184 from agco/bugfix/AGCMD-3283
Browse files Browse the repository at this point in the history
do not exit process on error
  • Loading branch information
ssebro authored Mar 20, 2017
2 parents f550d10 + 6ff747f commit 620b293
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/events-reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = function (harvesterApp) {
var docStream = hl();

function EventsReader() {
this.stopped;
}

EventsReader.prototype.stop = function () {
Expand Down Expand Up @@ -265,9 +266,9 @@ module.exports = function (harvesterApp) {
};

EventsReader.prototype.exit = function (err) {
console.log(err);
console.error(err);
debug('error occurred, force exit in order to respawn process');
process.exit(1);
// process.exit(1);
};


Expand Down

0 comments on commit 620b293

Please sign in to comment.