diff options
Diffstat (limited to 'server/middlewares')
-rw-r--r-- | server/middlewares/secure.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/secure.ts b/server/middlewares/secure.ts index 0fa9ee9d2..f58bea734 100644 --- a/server/middlewares/secure.ts +++ b/server/middlewares/secure.ts | |||
@@ -41,7 +41,7 @@ function checkSignature (req: express.Request, res: express.Response, next: expr | |||
41 | return res.sendStatus(403) | 41 | return res.sendStatus(403) |
42 | }) | 42 | }) |
43 | .catch(err => { | 43 | .catch(err => { |
44 | logger.error('Cannot get signed host in body.', { error: err }) | 44 | logger.error('Cannot get signed host in body.', { error: err.stack, signature: req.body.signature.signature }) |
45 | return res.sendStatus(500) | 45 | return res.sendStatus(500) |
46 | }) | 46 | }) |
47 | } | 47 | } |