diff --git a/common/membership/resolver.go b/common/membership/resolver.go index 16606495e21..5c786cbba01 100644 --- a/common/membership/resolver.go +++ b/common/membership/resolver.go @@ -214,7 +214,7 @@ func (rpo *MultiringResolver) LookupByAddress(service, address string) (HostInfo } } rpo.metrics.Scope(metrics.ResolverHostNotFoundScope).IncCounter(1) - return HostInfo{}, errors.New("host not found") + return HostInfo{}, fmt.Errorf("host not found in service %s: %s", service, address) } func (rpo *MultiringResolver) MemberCount(service string) (int, error) {