Comparing version 1.3.1 to 1.3.2
@@ -99,6 +99,9 @@ // Requires | ||
proxy.on('proxyError', function(err, req, res) { | ||
proxy.once('proxyError', function(err, req, res) { | ||
ulog('PROXY ERROR on ', backend.host+req.url); | ||
ulog(err); | ||
ulog(err.stack); | ||
// Make the proxy handle termination | ||
proxy.emit('proxyError', err, req, res); | ||
}); | ||
@@ -149,6 +152,9 @@ | ||
proxy.on('webSocketProxyError', function(err, req, socket) { | ||
proxy.once('webSocketProxyError', function(err, req, socket) { | ||
ulog('WS PROXY ERROR on ', backend.host+req.url); | ||
ulog(err); | ||
ulog(err.stack); | ||
// Make the proxy handle termination for now | ||
proxy.emit('webSocketProxyError', err, req, socket); | ||
}); | ||
@@ -155,0 +161,0 @@ |
{ | ||
"name" : "loadfire", | ||
"version" : "1.3.1", | ||
"version" : "1.3.2", | ||
"description" : "A clean and simple load balancer", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
19626
459