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

Handle network issues gracefully #18

Open
aarong opened this issue Nov 3, 2011 · 0 comments
Open

Handle network issues gracefully #18

aarong opened this issue Nov 3, 2011 · 0 comments

Comments

@aarong
Copy link

aarong commented Nov 3, 2011

When I perform an API request and I'm not connected to the internet I get:

Error: ETIMEOUT, Timeout while contacting DNS servers
at Timer.callback (dns.js:38:13)

Ideally timeouts would be passed to our callbacks as an error parameter, I think. And maybe we could set the timeout duration as an option as well? No sense waiting a minute (or whatever the default is) to tell the client that we can't reach SimpleDb.

Thanks again for an excellent module.

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

No branches or pull requests

1 participant