Compare commits

...

3 Commits

Author SHA1 Message Date
Taylor McKinnon cee07ccbe1 a 2018-09-07 13:23:50 -07:00
Taylor McKinnon 8bc5af3f9c a 2018-09-07 12:28:23 -07:00
Taylor McKinnon 17048602b2 a 2018-09-07 12:07:28 -07:00
1 changed files with 6 additions and 0 deletions

View File

@ -10,7 +10,13 @@ class RedisClient {
* @param {werelogs.Logger} logger - logger instance * @param {werelogs.Logger} logger - logger instance
*/ */
constructor(config, logger) { constructor(config, logger) {
console.log('RedisClient.js L#13 --------------------------------------------------------------------');
console.log(config);
console.log('--------------------------------------------------------------------');
this._client = new Redis(config); this._client = new Redis(config);
console.log('RedisClient.js L#17 --------------------------------------------------------------------');
console.log(config);
console.log('--------------------------------------------------------------------');
this._client.on('error', err => this._client.on('error', err =>
logger.trace('error from redis', { logger.trace('error from redis', {
error: err, error: err,