-
Notifications
You must be signed in to change notification settings - Fork 30k
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: improve unhandledException doc copy #5287
Conversation
|
||
Example of listening for `'uncaughtException'`: | ||
For example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiniest nit: consistent would be "Example:" afaik
Good one. LGTM, minus (nit and) conflicts. /cc @nodejs/documentation |
LGTM |
listener is added for this exception, the default action (which is to print | ||
a stack trace and exit) will not occur. | ||
The `'uncaughtException'` event is emitted when an exception bubbles all the | ||
way back to the event loop. By default, Node.js handles such exceptions by printing the stack trace to stderr and exiting. Adding a handler for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this line longer than the usual limit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, will correct the wrapping on landing.
@nodejs/documentation ... can I get some more LGTM's on this from Collaborators? |
LGTM |
LGTM - the merge conflict. |
yep, will rebase before landing |
Rework the doc a bit to tighten it up, including removing the use of `you`
1657b60
to
72d29e6
Compare
Rebased! |
Rework the doc a bit to tighten it up, including removing the use of `you` Fix some line wrapping issues. PR-URL: #5287 Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> ...
Landed in 831b30e |
Rework the doc a bit to tighten it up, including removing the use of `you` Fix some line wrapping issues. PR-URL: #5287 Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> ...
Rework the doc a bit to tighten it up, including removing the use of `you` Fix some line wrapping issues. PR-URL: #5287 Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> ...
Rework the doc a bit to tighten it up, including removing the use of `you` Fix some line wrapping issues. PR-URL: #5287 Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> ...
Rework the doc a bit to tighten it up, including removing the use of `you` Fix some line wrapping issues. PR-URL: #5287 Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> ...
Rework the doc a bit to tighten it up, including removing the
use of
you