mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 01:23:59 +00:00
Log client side errors as warns so they don't show in Sentry
This commit is contained in:
parent
6beb29f449
commit
8bfc613bb3
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ module.exports = class Router
|
|||
res.send()
|
||||
|
||||
webRouter.post '/error/client', (req, res, next) ->
|
||||
logger.error err: req.body.error, meta: req.body.meta, "client side error"
|
||||
logger.warn err: req.body.error, meta: req.body.meta, "client side error"
|
||||
res.sendStatus(204)
|
||||
|
||||
webRouter.get '*', ErrorController.notFound
|
Loading…
Reference in a new issue