acquia / statsgod

A Statsd implementation written in GO lang
Apache License 2.0
119 stars 8 forks source link

Prevent a panic from trying to call .Close() on a NilConn #98

Open korvus81 opened 8 years ago

korvus81 commented 8 years ago

This causes a panic when carbon is temporarily unavailable. I got tired of restarting the services everywhere, and I believe this fixes the problem.

kevinhankens commented 8 years ago

I like this idea. I just filed #99 to get tests working again on travis. Once that lands, can you rebase and we'll see about getting this in.

Thanks!