diff --git a/services/clsi/app.js b/services/clsi/app.js index 4b47e2bdaf..a8125be376 100644 --- a/services/clsi/app.js +++ b/services/clsi/app.js @@ -198,17 +198,6 @@ app.get( } ) -app.get('/oops', function (req, res, next) { - logger.error({ err: 'hello' }, 'test error') - res.send('error\n') -}) - -app.get('/oops-internal', function (req, res, next) { - setTimeout(function () { - throw new Error('Test error') - }, 1) -}) - app.get('/status', (req, res, next) => res.send('CLSI is alive\n')) Settings.processTooOld = false diff --git a/services/project-history/app/js/Router.js b/services/project-history/app/js/Router.js index c73839f74f..4ab965a0c5 100644 --- a/services/project-history/app/js/Router.js +++ b/services/project-history/app/js/Router.js @@ -1,4 +1,3 @@ -import OError from '@overleaf/o-error' import * as HttpController from './HttpController.js' export function initialize(app) { @@ -88,10 +87,6 @@ export function initialize(app) { app.get('/status', (req, res, next) => res.send('project-history is up')) - app.get('/oops', function (req, res, next) { - throw new OError('dummy test error') - }) - app.get('/check_lock', HttpController.checkLock) app.get('/health_check', HttpController.healthCheck)