zeroconf is a cross-platform library that wraps underlying ZeroConf/mDNS implementations such as Bonjour or Avahi, providing an easy and idiomatic way to both register and browse services.
This PR recovers the Avahi client error code and adds the corresponding message to the error String reported by ManagedAvahiEntryGroup::new. This helps debugging problems with Avahi.
In my particular case, for instance, the error message was could not initialize AvahiEntryGroup: not permitted because I didn't allow publishing user services. WIthout this addition it would have been very hard to find out what was wrong.
This PR recovers the Avahi client error code and adds the corresponding message to the error String reported by
ManagedAvahiEntryGroup::new
. This helps debugging problems with Avahi.In my particular case, for instance, the error message was
could not initialize AvahiEntryGroup: not permitted
because I didn't allow publishing user services. WIthout this addition it would have been very hard to find out what was wrong.Signed-off-by: Matteo Joliveau matteojoliveau@gmail.com