From 25cb78796a9908d70876cb02ef42e7d7ecc5a959 Mon Sep 17 00:00:00 2001 From: Ben Scobie Date: Fri, 5 Jan 2024 12:43:03 +0000 Subject: [PATCH] Fix incorrect ping log (#4322) --- server/util-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util-server.js b/server/util-server.js index 754626ea2..8add5bc56 100644 --- a/server/util-server.js +++ b/server/util-server.js @@ -128,7 +128,7 @@ exports.ping = async (hostname, size = 56) => { return await exports.pingAsync(hostname, false, size); } catch (e) { // If the host cannot be resolved, try again with ipv6 - console.debug("ping", "IPv6 error message: " + e.message); + log.debug("ping", "IPv6 error message: " + e.message); // As node-ping does not report a specific error for this, try again if it is an empty message with ipv6 no matter what. if (!e.message) {