From e1f27efebfa98261b428ee3ab7c4cfb422a0082b Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sun, 30 Jun 2019 12:05:49 -0400 Subject: [PATCH] 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 Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat Reviewed-By: Jiawen Geng --- doc/api/errors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index 60f995479fea4f..64cdb9eb57430d 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