Skip to content

Commit e1f27ef

Browse files
committed
doc: address missing paren
The closing paren was missing. Move to using commas instead. PR-URL: #28483 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
1 parent 83c1e17 commit e1f27ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/errors.md

Lines changed: 1 addition & 1 deletion
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)