minor with logging and cleanup bootstrap

This commit is contained in:
lesion
2022-03-10 12:37:05 +01:00
parent c54706bfbc
commit d430417af2
4 changed files with 14 additions and 20 deletions

View File

@@ -34,7 +34,7 @@ oauth.use((req, res) => res.sendStatus(404))
oauth.use((err, req, res, next) => {
const error_msg = err.toString()
log.error('[OAUTH USE] ' + error_msg)
log.warn('[OAUTH USE] ' + error_msg)
res.status(500).send(error_msg)
})