diff --git a/sections/errorhandling/centralizedhandling.md b/sections/errorhandling/centralizedhandling.md index 00cf4d1f..f50e57c9 100644 --- a/sections/errorhandling/centralizedhandling.md +++ b/sections/errorhandling/centralizedhandling.md @@ -27,7 +27,7 @@ catch (error) { // Error handling middleware, we delegate the handling to the centralized error handler app.use(async (err, req, res, next) => { - const isOperationalError = await errorHandler.handleError(err) + const isOperationalError = await errorHandler.handleError(err); if (!isOperationalError) next(err); });