Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch error conditions that can result even when using UDP #6

Merged
merged 1 commit into from Feb 10, 2012
Merged

Catch error conditions that can result even when using UDP #6

merged 1 commit into from Feb 10, 2012

Conversation

betamatt
Copy link
Contributor

There's a bunch of issues that can result from the DNS request which happens before packets start going out over UDP. This patch ensures that any such network errors are logged instead of bubbling up and that requests which black-hole will timeout quickly.

@jstorimer
Copy link
Contributor

Scary to think that StatsD could block the request. Nice fix. And +1 on your usage of #fetch for a default value :)

jstorimer added a commit that referenced this pull request Feb 10, 2012
Catch error conditions that can result even when using UDP
@jstorimer jstorimer merged commit 171c0de into Shopify:master Feb 10, 2012
@betamatt
Copy link
Contributor Author

Thanks. If you don't have anything else in the pipe, mind cutting a point release?

@jstorimer
Copy link
Contributor

Done. v1.1.2 is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants