-
Notifications
You must be signed in to change notification settings - Fork 285
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
fix(common): Servers#startOnPort() error handling #317
Comments
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 15, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 17, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 19, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 19, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 19, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 20, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 22, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 26, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 27, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 27, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Nov 2, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Nov 6, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Nov 12, 2020
Promise no longer hangs if error event is fired on the server object Fixes hyperledger-cacti#317 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If the NodeJS HTTP server error object emits an error event, the promise is not rejected as it should be.
To Reproduce
Invoke
Servers.startOnPort()
in a way that will make the server listen call fail and then see the promise hang forever.Expected behavior
It should have the returned promise reject instead of hanging.
Hyperledger Cactus release version or commit (git rev-parse --short HEAD):
v0.1.0
The text was updated successfully, but these errors were encountered: