Skip to content

Commit

Permalink
Update resolver/caching_resolver.go
Browse files Browse the repository at this point in the history
Co-authored-by: ThinkChaos <[email protected]>
  • Loading branch information
kwitsch and ThinkChaos authored Apr 12, 2024
1 parent 2667946 commit 5abeeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolver/caching_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (r *CachingResolver) reloadCacheEntry(ctx context.Context, cacheKey string)

response, err := r.next.Resolve(ctx, req)
if err != nil {
util.LogOnError(ctx, fmt.Sprintf("can't prefetch '%s' ", domainName), err)
logger.WithError(err).WithField("domain", domainName).Warn("cache prefetch failed")

return nil, 0
}
Expand Down

0 comments on commit 5abeeee

Please sign in to comment.