nats-hemera
Advanced tools
Comparing version 3.0.4 to 3.1.0
@@ -410,3 +410,3 @@ 'use strict' | ||
fatal() { | ||
process.exit(1) | ||
this.close(() => process.exit(1)) | ||
} | ||
@@ -648,3 +648,3 @@ | ||
if (self._config.crashOnFatal) { | ||
self.fatal() | ||
self.emit('error', self._reply.error) | ||
} | ||
@@ -654,3 +654,3 @@ }) | ||
} else if (self._config.crashOnFatal) { | ||
self.fatal() | ||
self.emit('error', self._reply.error) | ||
return | ||
@@ -1191,3 +1191,3 @@ } | ||
if (self._config.crashOnFatal) { | ||
self.fatal() | ||
self.emit('error', err) | ||
} else { | ||
@@ -1457,3 +1457,3 @@ self._execute(error) | ||
if (self._config.crashOnFatal) { | ||
self.fatal() | ||
self.emit('error', err) | ||
} | ||
@@ -1460,0 +1460,0 @@ } |
{ | ||
"name": "nats-hemera", | ||
"author": "Dustin Deus (https://github.com/StarpTech)", | ||
"version": "3.0.4", | ||
"version": "3.1.0", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "homepage": "https://hemerajs.github.io/hemera/", |
69727