You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
hmm, I don't think it should just be "handled" the only thing that would make sense would be to make StatsD an emitter and bubble the error emission up. Although the only problem this solves is the forced breakage of the law of demeter.
I agree it should bubble up. It would also be nice to integrate the documentation in that case.
Actually I do see that the current documentation told me about handling the error: https://github.com/sivy/node-statsd#errors
yeah, it's bad API design on my part for forcing the breakage of LoD ... and then blatantly documenting it. heh. If I have some time in the next week or so, I'll get this in.
When not passing a callback to the sending functions (any), DNS errors would result in an exception being thrown like this:
See CartoDB/Windshaft-cartodb#180
The text was updated successfully, but these errors were encountered: