Skip to content

Commit

Permalink
fix: debug log dns lookup errors (#17577)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Sep 2, 2022
1 parent be96cba commit 22d0d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/util/http/dns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function lookup(

_dnsLookup(host, opts, (err, res) => {
if (err) {
logger.error({ host, err }, 'dns lookup error');
logger.debug({ host, err }, 'dns lookup error');
cb(err, null, null);
return;
}
Expand All @@ -85,7 +85,7 @@ function lookup(

_dnsLookup(host, opts, (err, ...res) => {
if (err) {
logger.error({ host, err }, 'dns lookup error');
logger.debug({ host, err }, 'dns lookup error');
cb(err);
return;
}
Expand Down

0 comments on commit 22d0d34

Please sign in to comment.