@hastehaul/common 2.0.38 → 2.0.39

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,8 +51,8 @@ class RedisWrapper {
51
51
  resolve();
52
52
  });
53
53
  this._redisClient.on("error", (error) => {
54
- console.error("Error in Redis", error);
55
- reject(error);
54
+ console.error("Error in Redis", error.message);
55
+ reject(error.message);
56
56
  });
57
57
  });
58
58
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hastehaul/common",
3
- "version": "2.0.38",
3
+ "version": "2.0.39",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",