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

doc: clarify error handling in net/createServer #5353

Closed
wants to merge 1 commit into from

Conversation

dirceu
Copy link
Contributor

@dirceu dirceu commented Feb 21, 2016

Fixes: #5345

@evanlucas
Copy link
Contributor

LGTM.

/cc @trevnorris

@mscdex mscdex added doc Issues and PRs related to the documentations. net Issues and PRs related to the net subsystem. labels Feb 21, 2016
@jasnell
Copy link
Member

jasnell commented Feb 21, 2016

It would be good if the commit log message identified what was clarified a bit more specifically.
Otherwise LGTM

@dirceu
Copy link
Contributor Author

dirceu commented Feb 21, 2016

@jasnell good point. Can you please check the new commit message?

server.listen(8124, (err) => {
// 'listening' listener
if (err) throw err;
server.listen(8124, () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add an error listener here as well.

Remove indications that an error argument is sent to the `listen()` callback.

Fixes: nodejs#5345
PR-URL: nodejs#5353
@trevnorris
Copy link
Contributor

LGTM. Thanks for looking into this.

@benjamingr
Copy link
Member

LGTM.

evanlucas pushed a commit that referenced this pull request Feb 25, 2016
Remove indications that an error argument is sent to the `listen()` callback.

Fixes: #5345
PR-URL: #5353
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
@evanlucas
Copy link
Contributor

Landed in 581606a. Thanks!

@evanlucas evanlucas closed this Feb 25, 2016
rvagg pushed a commit that referenced this pull request Feb 27, 2016
Remove indications that an error argument is sent to the `listen()` callback.

Fixes: #5345
PR-URL: #5353
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
rvagg pushed a commit that referenced this pull request Feb 27, 2016
Remove indications that an error argument is sent to the `listen()` callback.

Fixes: #5345
PR-URL: #5353
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
@Fishrock123 Fishrock123 mentioned this pull request Mar 1, 2016
5 tasks
MylesBorins pushed a commit that referenced this pull request Mar 1, 2016
Remove indications that an error argument is sent to the `listen()` callback.

Fixes: #5345
PR-URL: #5353
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 1, 2016
Remove indications that an error argument is sent to the `listen()` callback.

Fixes: #5345
PR-URL: #5353
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
Remove indications that an error argument is sent to the `listen()` callback.

Fixes: #5345
PR-URL: #5353
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. net Issues and PRs related to the net subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants