From 6d44e62d7d7853f8e46d6d53e5ed86113118b825 Mon Sep 17 00:00:00 2001 From: jaty Date: Fri, 16 Feb 2018 14:17:53 +0800 Subject: [PATCH] Default message for error encountered while establishing error is modified --- lib/worker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/worker.js b/lib/worker.js index 107592d..b644865 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -75,6 +75,7 @@ FiveBeansWorker.prototype.start = function(tubes) this.client.on('error', function(err) { + err.message += ' beanstalkd connection error'; self.emitWarning({message: 'beanstalkd connection error', error: err}); self.emit('error', err); });