added /oops endpoint for generating dummy exception

This commit is contained in:
Brian Gough 2015-12-07 16:17:17 +00:00
parent e7af602d32
commit 6483233f48

View file

@ -50,6 +50,9 @@ app.post "/pack", (req, res, next) ->
app.get "/status", (req, res, next) ->
res.send "track-changes is alive"
app.get "/oops", (req, res, next) ->
throw new Error("dummy test error")
app.get "/check_lock", HttpController.checkLock
app.get "/health_check", HttpController.healthCheck