diff --git a/README.french.md b/README.french.md index 342a84799..a617231fe 100644 --- a/README.french.md +++ b/README.french.md @@ -9,7 +9,7 @@
- 102 items Dernière mise à jour : Novembre 2020 Mis à jour pour Node 14.0.0 + 102 items Dernière mise à jour : Novembre 2020 Mis à jour pour Node 14.0.0

@@ -1568,6 +1568,11 @@ Merci à ces merveilleuses personnes qui ont contribué à ce dépôt !
Aleksandar

🖋
Owl

🖋
Yedidya Schwartz

🖋 💡 +
ari

🖋 + + +
Thomas König

🖋 +
Kalle Lämsä

🖋 diff --git a/sections/errorhandling/centralizedhandling.french.md b/sections/errorhandling/centralizedhandling.french.md index 45e212cf1..bce99d4c5 100644 --- a/sections/errorhandling/centralizedhandling.french.md +++ b/sections/errorhandling/centralizedhandling.french.md @@ -35,11 +35,11 @@ app.use(async (err, req, res, next) => { process.on("uncaughtException", error => { errorHandler.handleError(error); - }); +}); - process.on("unhandledRejection", (reason) => { - errorHandler.handleError(reason); - }); +process.on("unhandledRejection", (reason) => { + errorHandler.handleError(reason); +}); ``` @@ -72,11 +72,11 @@ app.use(async (err: Error, req: Request, res: Response, next: NextFunction) => { process.on("uncaughtException", (error:Error) => { errorHandler.handleError(error); - }); +}); - process.on("unhandledRejection", (reason) => { - errorHandler.handleError(reason); - }); +process.on("unhandledRejection", (reason) => { + errorHandler.handleError(reason); +}); ``` diff --git a/sections/performance/block-loop.french.md b/sections/performance/block-loop.french.md index 16d7e192b..20c6dce63 100644 --- a/sections/performance/block-loop.french.md +++ b/sections/performance/block-loop.french.md @@ -47,4 +47,4 @@ while loop. >[Don't Block the Event Loop (or the Worker Pool) | Node.js](https://nodejs.org/en/docs/guides/dont-block-the-event-loop/) > Most people fail their first few NodeJS apps merely due to the lack of understanding of the concepts such as the Event Loop, Error handling and asynchrony -[Event Loop Best Practices — NodeJS Event Loop Part 5](https://jsblog.insiderattack.net/event-loop-best-practices-nodejs-event-loop-part-5-e29b2b50bfe2) +[Event Loop Best Practices — NodeJS Event Loop Part 5](https://blog.insiderattack.net/event-loop-best-practices-nodejs-event-loop-part-5-e29b2b50bfe2)