mirror of https://github.com/0xERR0R/blocky.git
Update resolver/caching_resolver.go
Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>
This commit is contained in:
parent
a411c5feee
commit
6a899075b6
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue