You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
chore: improve debug statements
This commit is contained in:
@@ -188,7 +188,7 @@ function authCallback (self, pass) {
|
||||
}
|
||||
|
||||
RedisClient.prototype.auth = function auth (pass) {
|
||||
debug(`Sending auth to ${this.address} id ${this.connectionId}`)
|
||||
debug('Sending auth to %s id %s', this.address, this.connectionId)
|
||||
|
||||
// Stash auth for connect and reconnect.
|
||||
this.authPass = pass
|
||||
@@ -201,7 +201,7 @@ RedisClient.prototype.auth = function auth (pass) {
|
||||
|
||||
// Only works with batch, not in a transaction
|
||||
Multi.prototype.auth = function auth (pass) {
|
||||
debug(`Sending auth to ${this.address} id ${this.connectionId}`)
|
||||
debug('Sending auth to %s id %s', this.address, this.connectionId)
|
||||
|
||||
// Stash auth for connect and reconnect.
|
||||
this.authPass = pass
|
||||
|
Reference in New Issue
Block a user