This commit is contained in:
Peter Parada
2017-11-23 20:01:05 +01:00
committed by GitHub
parent 88e2b591d1
commit a1212c650c

View File

@ -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)