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: document that repl uses domain module for error handling #20382

Closed
wants to merge 2 commits into from

Conversation

AyushG3112
Copy link
Contributor

@AyushG3112 AyushG3112 commented Apr 28, 2018

Document that REPL uses the domain module to handle uncaught exceptions, and the side effects caused by it.

Fixes: #19998

Checklist
  • make -j4 lint-md (UNIX) passes
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. repl Issues and PRs related to the REPL subsystem. labels Apr 28, 2018
doc/api/repl.md Outdated
@@ -617,4 +628,9 @@ see: https://gist.github.com/2053342
[`readline.Interface`]: readline.html#readline_class_interface
[`util.inspect()`]: util.html#util_util_inspect_object_options
[curl(1)]: https://curl.haxx.se/docs/manpage.html
[`domain`]: domain.html
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: these references are out of the ASCII sorting order that seems to be kept here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vsemozhetbyt fixed. PTAL

@vsemozhetbyt vsemozhetbyt added the domain Issues and PRs related to the domain subsystem. label Apr 28, 2018
@vsemozhetbyt
Copy link
Contributor

@vsemozhetbyt
Copy link
Contributor

Please, add 👍 here to approve fast-tracking.

@vsemozhetbyt vsemozhetbyt added fast-track PRs that do not need to wait for 48 hours to land. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Apr 28, 2018
@vsemozhetbyt
Copy link
Contributor

cc @nodejs/repl

@vsemozhetbyt
Copy link
Contributor

I cannot apply the patch before landing:

$ curl -L https://github.com/nodejs/node/pull/$PR_ID.patch | git am -3 --whitespace=fix
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   139    0   139    0     0    139      0 --:--:-- --:--:-- --:--:--   165
100  3557    0  3557    0     0   3557      0 --:--:--  0:00:01 --:--:-- 16316
Applying: doc: document that repl uses `domain` module for error handling
Applying: fixup: sorting in linkify references
error: sha1 information is lacking or useless (doc/api/repl.md).
error: could not build fake ancestor
Patch failed at 0002 fixup: sorting in linkify references
The copy of the patch that failed is found in: .git/rebase-apply/patch

Maybe this need rebasing?

AyushG3112 added 2 commits May 5, 2018 01:01
Document that REPL uses the `domain` module to handle uncaught
exceptions, and the side effects caused by it.

Fixes: nodejs#19998
@AyushG3112
Copy link
Contributor Author

@vsemozhetbyt Rebased.

@vsemozhetbyt
Copy link
Contributor

@vsemozhetbyt
Copy link
Contributor

Landed in 1cf7ef6
Thank you.

vsemozhetbyt pushed a commit that referenced this pull request May 4, 2018
Document that REPL uses the `domain` module to handle uncaught
exceptions, and the side effects caused by it.

PR-URL: #20382
Fixes: #19998
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@AyushG3112 AyushG3112 deleted the doc-repl-domain branch May 4, 2018 20:08
MylesBorins pushed a commit that referenced this pull request May 8, 2018
Document that REPL uses the `domain` module to handle uncaught
exceptions, and the side effects caused by it.

PR-URL: #20382
Fixes: #19998
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins MylesBorins mentioned this pull request May 8, 2018
MylesBorins pushed a commit that referenced this pull request May 8, 2018
Document that REPL uses the `domain` module to handle uncaught
exceptions, and the side effects caused by it.

PR-URL: #20382
Fixes: #19998
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 9, 2018
Document that REPL uses the `domain` module to handle uncaught
exceptions, and the side effects caused by it.

PR-URL: #20382
Fixes: #19998
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. domain Issues and PRs related to the domain subsystem. fast-track PRs that do not need to wait for 48 hours to land. repl Issues and PRs related to the REPL subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node REPL does not honor uncaughtException listeners
8 participants