diff options
author | cjihrig <cjihrig@gmail.com> | 2019-06-30 12:05:49 -0400 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-07-20 11:05:14 +0200 |
commit | 0a0832fb52ab4672a4f6084fdd81a83e19cbc89a (patch) | |
tree | 3066d8e2623c50ca7b99c86cdfb6333be9f44c52 /doc | |
parent | e610c45076a7940bbe2460d0a39bf7dbfe9c9bf4 (diff) | |
download | android-node-v8-0a0832fb52ab4672a4f6084fdd81a83e19cbc89a.tar.gz android-node-v8-0a0832fb52ab4672a4f6084fdd81a83e19cbc89a.tar.bz2 android-node-v8-0a0832fb52ab4672a4f6084fdd81a83e19cbc89a.zip |
doc: address missing paren
The closing paren was missing. Move to using commas instead.
PR-URL: https://github.com/nodejs/node/pull/28483
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/errors.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index 64c1da8f93..3fbd429111 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -171,7 +171,7 @@ try { This will not work because the callback function passed to `fs.readFile()` is called asynchronously. By the time the callback has been called, the -surrounding code (including the `try { } catch (err) { }` block will have +surrounding code, including the `try { } catch (err) { }` block, will have already exited. Throwing an error inside the callback **can crash the Node.js process** in most cases. If [domains][] are enabled, or a handler has been registered with `process.on('uncaughtException')`, such errors can be |