diff --git a/lib/index.js b/lib/index.js index 3a5cb55..fa02ba5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -89,7 +89,7 @@ class ExpressRedisCache extends EventEmitter { if (this.client.on) { this.client.on("error", error => { - this.emit("error", error); + console.error(error); }); this.client.on("connect", () => {