]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Relax logger on signature checker
authorChocobozzz <me@florianbigard.com>
Wed, 29 Jan 2020 13:51:44 +0000 (14:51 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 29 Jan 2020 13:51:44 +0000 (14:51 +0100)
server/middlewares/activitypub.ts

index c6d8466acda03abe664ab89a739f83d05053e0f7..c906e785c57f7dde1463683684afe0abf33c04de 100644 (file)
@@ -23,7 +23,7 @@ async function checkSignature (req: Request, res: Response, next: NextFunction)
 
     return next()
   } catch (err) {
-    logger.error('Error in ActivityPub signature checker.', err)
+    logger.warn('Error in ActivityPub signature checker.', err)
     return res.sendStatus(403)
   }
 }