Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pito-svk authored Nov 23, 2017
1 parent 88e2b59 commit a1212c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/errorhandling/centralizedhandling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a1212c6

Please sign in to comment.