mafintosh / dns-discovery

Discovery peers in a distributed system using regular dns and multicast dns.
MIT License
193 stars 18 forks source link

Better debug information for probing #15

Open martinheidegger opened 6 years ago

martinheidegger commented 6 years ago

The current debug output doesn't show the original error thrown by query, if an error occurred while decoding, the data received or if the probe was the second or first. This PR adds this information and reduces the code complexity in the process.