From f20b84229df0cb2032b59fb2bdca3b97ff7f585c Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Thu, 30 Nov 2023 13:23:51 +0100 Subject: [PATCH] Extend avahi mdns debug message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Show the mDNS service avahi couldn’t resolve --- service/mdns/avahi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/mdns/avahi.go b/service/mdns/avahi.go index 27bba30a..1f0e5c5b 100644 --- a/service/mdns/avahi.go +++ b/service/mdns/avahi.go @@ -155,7 +155,7 @@ func (a *AvahiProvider) processService(service avahi.Service, remove bool, callb resolved, err := a.avServer.ResolveService(service.Interface, service.Protocol, service.Name, service.Type, service.Domain, avahi.ProtoUnspec, 0) if err != nil { - logging.Log.Debug("avahi - error resolving service:", err) + logging.Log.Debug("avahi - error resolving service:", service, "error:", err) return }