mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-10-29 00:19:14 +08:00
Added missing semicolon
This commit is contained in:
@ -27,7 +27,7 @@ catch (error) {
|
|||||||
|
|
||||||
// Error handling middleware, we delegate the handling to the centralized error handler
|
// Error handling middleware, we delegate the handling to the centralized error handler
|
||||||
app.use(async (err, req, res, next) => {
|
app.use(async (err, req, res, next) => {
|
||||||
const isOperationalError = await errorHandler.handleError(err)
|
const isOperationalError = await errorHandler.handleError(err);
|
||||||
if (!isOperationalError)
|
if (!isOperationalError)
|
||||||
next(err);
|
next(err);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user