[monorepo] remove endpoints for generating a fake error (#31679)

GitOrigin-RevId: d424881e6ebca157b81344705670021677f856de
This commit is contained in:
Jakob Ackermann
2026-02-19 16:22:23 +01:00
committed by Copybot
parent 8e5c207f6b
commit 209f660435
2 changed files with 0 additions and 16 deletions

View File

@@ -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

View File

@@ -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)