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 ECONNREFUSED #27

Open
zzo opened this issue Sep 14, 2011 · 2 comments
Open

Catch ECONNREFUSED #27

zzo opened this issue Sep 14, 2011 · 2 comments

Comments

@zzo
Copy link

zzo commented Sep 14, 2011

If the remote Selenium server is not up ECONNREFUSED gets thrown and terminates the entire process.
Please do something similar to:

http://rentzsch.tumblr.com/post/664884799/node-js-handling-refused-http-client-connections

I'd fork & pull request myself BUT not sure how you want to handle the error... thanks!! Mark

@juriejan
Copy link

I've changed the code in my fork to send errors raised by the HTTP client to the callback function provided with the command.

https://github.com/edgecampus/soda

If you (everyone) approve of it, let me know and I will make a pull request.

@zzo
Copy link
Author

zzo commented Mar 1, 2012

ship it!

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

2 participants