diff --git a/services/web/app/coffee/router.coffee b/services/web/app/coffee/router.coffee index f078c31cb0..642744049a 100644 --- a/services/web/app/coffee/router.coffee +++ b/services/web/app/coffee/router.coffee @@ -217,6 +217,10 @@ module.exports = class Router require("./models/Project").Project.findOne {}, () -> throw new Error("Test error") + app.get '/opps-small', (req, res, next)-> + logger.err "test error occured" + res.send() + app.post '/error/client', (req, res, next) -> logger.error err: req.body.error, meta: req.body.meta, "client side error" res.send(204)