Skip to content

Commit

Permalink
Fix incorrect ping log (#4322)
Browse files Browse the repository at this point in the history
  • Loading branch information
benscobie authored Jan 5, 2024
1 parent bf1e3a3 commit 25cb787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/util-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 25cb787

Please sign in to comment.