diff --git a/src/classes/redis-connection.ts b/src/classes/redis-connection.ts index 768fffcdf4..66e5fa9e3b 100644 --- a/src/classes/redis-connection.ts +++ b/src/classes/redis-connection.ts @@ -30,7 +30,7 @@ export class RedisConnection extends EventEmitter { this.initializing = this.init(); this.initializing - .then(client => client.on('error', this.emit.bind(this))) + .then(client => client.on('error', this.emit.bind(this, 'error'))) .catch(err => this.emit('error', err)); }