Поправки от eslint

This commit is contained in:
Book Pauk
2019-01-06 16:39:43 +07:00
parent 922eeeca1f
commit fbff2d99c2
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ function logQueries(app) {
}
function logErrors(app) {
app.use(function(err, req, res, next) {
app.use(function(err, req, res, next) {// eslint-disable-line no-unused-vars
log(LM_ERR, err.stack);
res.status(500).send(err.stack);
});