From 8ae2d67ec94e11ad8584140d8eed73b7b6b2d4d7 Mon Sep 17 00:00:00 2001 From: Gabe Date: Mon, 23 Jul 2018 22:32:08 -0400 Subject: [PATCH] Added missing semicolon --- 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 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); });