mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 13:01:02 +00:00
downgrade NotFoundError log-level
This commit is contained in:
parent
262ea01911
commit
0914908676
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ app.get('/smoke_test_force', (req, res) => smokeTest.sendNewResult(res))
|
|||
|
||||
app.use(function(error, req, res, next) {
|
||||
if (error instanceof Errors.NotFoundError) {
|
||||
logger.warn({ err: error, url: req.url }, 'not found error')
|
||||
logger.log({ err: error, url: req.url }, 'not found error')
|
||||
return res.sendStatus(404)
|
||||
} else if (error.code === 'EPIPE') {
|
||||
// inspect container returns EPIPE when shutting down
|
||||
|
|
Loading…
Reference in a new issue