stianeikeland/node-etcd — pull request #16 by smurthas (2014-01-26 04:46:11+00:00)
Title: Handle errors properly

When an err is returned such as as unreachable host (etcd is down), the resp object will be null. Previously, this would throw a `Cannot read property 'headers' of undefined` expection, but not it should handle things gracefully.