mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-02 12:20:58 +00:00
put host in error message
This commit is contained in:
parent
fd6d52eef7
commit
d694674b78
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module.exports = RedisSharelatex =
|
||||||
_checkClient: (client, callback) ->
|
_checkClient: (client, callback) ->
|
||||||
callback = _.once(callback)
|
callback = _.once(callback)
|
||||||
timer = setTimeout () ->
|
timer = setTimeout () ->
|
||||||
error = new Error("redis client ping check timed out")
|
error = new Error("redis client ping check timed out #{client?.options?.host}")
|
||||||
console.error {
|
console.error {
|
||||||
err: error,
|
err: error,
|
||||||
key: client.options?.key # only present for cluster
|
key: client.options?.key # only present for cluster
|
||||||
|
|
Loading…
Reference in a new issue