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); });