From 8bfc613bb3d8e908bae8127d293278cc968b34af Mon Sep 17 00:00:00 2001 From: James Allen Date: Mon, 21 Mar 2016 13:29:34 +0000 Subject: [PATCH] Log client side errors as warns so they don't show in Sentry --- services/web/app/coffee/router.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/router.coffee b/services/web/app/coffee/router.coffee index 60f1d6b7c4..5e16073ed3 100644 --- a/services/web/app/coffee/router.coffee +++ b/services/web/app/coffee/router.coffee @@ -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 \ No newline at end of file