mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-10-28 03:25:55 +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
|
||||
app.use(async (err, req, res, next) => {
|
||||
const isOperationalError = await errorHandler.handleError(err)
|
||||
const isOperationalError = await errorHandler.handleError(err);
|
||||
if (!isOperationalError)
|
||||
next(err);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user