Skip to content

Commit 0a0832f

Browse files
cjihrigtargos
authored andcommitted
doc: address missing paren
The closing paren was missing. Move to using commas instead. PR-URL: #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>
1 parent e610c45 commit 0a0832f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/errors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ try {
171171

172172
This will not work because the callback function passed to `fs.readFile()` is
173173
called asynchronously. By the time the callback has been called, the
174-
surrounding code (including the `try { } catch (err) { }` block will have
174+
surrounding code, including the `try { } catch (err) { }` block, will have
175175
already exited. Throwing an error inside the callback **can crash the Node.js
176176
process** in most cases. If [domains][] are enabled, or a handler has been
177177
registered with `process.on('uncaughtException')`, such errors can be

0 commit comments

Comments
 (0)