Skip to content

Catch ECONNREFUSED #27

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

2 participants

@zzo
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

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
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
Something went wrong with that request. Please try again.