nats-hemera
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -886,3 +886,2 @@ 'use strict' | ||
if (err) { | ||
self._reply.error = err | ||
const internalError = new Errors.HemeraError( | ||
@@ -893,4 +892,4 @@ Constants.ADD_MIDDLEWARE_ERROR, | ||
self.log.error(internalError) | ||
self.emit('serverResponseError', self._reply.error) | ||
self.finish() | ||
self.emit('serverResponseError', err) | ||
self._actionHandler(err) | ||
return | ||
@@ -900,3 +899,3 @@ } | ||
if (self._reply.finished) { | ||
self.finish() | ||
self._actionHandler() | ||
return | ||
@@ -910,3 +909,3 @@ } | ||
action(self._request.payload.pattern) | ||
self.finish() | ||
self._actionHandler() | ||
return | ||
@@ -913,0 +912,0 @@ } |
{ | ||
"name": "nats-hemera", | ||
"author": "Dustin Deus (https://github.com/StarpTech)", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "homepage": "https://hemerajs.github.io/hemera/", |
69637
2767