]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/auth.ts
Prevent logging an error on lazy static 404
[github/Chocobozzz/PeerTube.git] / server / middlewares / auth.ts
index ad3b24ab21c27a1147aa3ca59ce8db56154f02c1..904d47efd1fd019dfe805f456556f1b73bb9ad8e 100644 (file)
@@ -14,7 +14,7 @@ function authenticate (req: express.Request, res: express.Response, next: expres
       return next()
     })
     .catch(err => {
-      logger.warn('Cannot authenticate.', { err })
+      logger.info('Cannot authenticate.', { err })
 
       return res.fail({
         status: err.status,