-
Notifications
You must be signed in to change notification settings - Fork 759
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
When server is down, the error message is not useful #314
Comments
After looking at #237 , I'm seeing the same error on the newest version of master. Perhaps the fix was never merged? |
Is there any update on this one? |
I'm still getting this error, but it seems to happen randomly. Running the tests again it doesn't happen, maybe 1 out of every 30 runs this happens on a random test. |
#446 should help reveal the underlying error here. |
My test suit is hitting a server with a bunch of requests and then checks on responses.
supertest
is really good for making tests on response body and status code easy!However, when the server is down for some reason the error message doesn't allow to identify the source of the problem. Me and some other folks tripped over this a bunch of times :)
Running this given the server at
localhost:6237
is down results in this stack trace:Is it something I can go ahead and fix or it's intended functionality?
The text was updated successfully, but these errors were encountered: