From a1212c650c04a4be40a002e6787411e20f6b7075 Mon Sep 17 00:00:00 2001 From: Peter Parada Date: Thu, 23 Nov 2017 20:01:05 +0100 Subject: [PATCH] Fix typo --- sections/errorhandling/centralizedhandling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/errorhandling/centralizedhandling.md b/sections/errorhandling/centralizedhandling.md index b4a7a4dfd..155f7d3d7 100644 --- a/sections/errorhandling/centralizedhandling.md +++ b/sections/errorhandling/centralizedhandling.md @@ -28,7 +28,7 @@ catch (error) { next(error); } -//Error handling middleware, we delegate the handling to the centrzlied error handler +//Error handling middleware, we delegate the handling to the centralized error handler app.use(function (err, req, res, next) { errorHandler.handleError(err).then((isOperationalError) => { if (!isOperationalError)