mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
redis: add debug log if communication with connected db failed (e.g. TLS mismatch)
This commit is contained in:
parent
b4ed0a260e
commit
d74234be86
1 changed files with 2 additions and 0 deletions
|
|
@ -358,6 +358,8 @@ redisContext *rdb_connect(conf_t *conf, bool require_master, const char *info)
|
|||
goto connected;
|
||||
}
|
||||
} else {
|
||||
log_debug("rdb, failed to query, remote %s%s%.0u",
|
||||
addr_str, (port != 0 ? "@" : ""), port);
|
||||
redisFree(rdb);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue