etsy/statsd — pull request #244 by yarekt (2013-02-06 13:41:02+00:00)
Title: Catch DNS errors from UDP socket in Repeater backend

If repeater is used with hostnames rather than IPs
a DNS resolution error crashes statsd server.
If you have a chain of statsd servers configured
to repeat data down the line this has the potential
to bring down the entire chain.

Attaching an error handler stops dgram socket from
throwing an exception and instead logs to console