remove sentry from backend services (#20752)

* remove sentry from backend services - no longer required

* Remove Sentry integration from logging manager

* Remove Sentry from clsi default settings

* Remove `initializeErrorReporting` in libraries/logger

* Remove `@sentry/node` from `libraries/logger`

---------

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: 8149a885f5258804b93ae39cde7b7333e992532a
This commit is contained in:
Brian Gough
2024-11-27 09:04:50 +00:00
committed by Copybot
co-authored by Antoine Clausse
parent 3d0f5188ae
commit 6672372828
18 changed files with 0 additions and 687 deletions
-3
View File
@@ -13,9 +13,6 @@ Metrics.open_sockets.monitor()
const express = require('express')
const session = require('express-session')
const redis = require('@overleaf/redis-wrapper')
if (Settings.sentry && Settings.sentry.dsn) {
logger.initializeErrorReporting(Settings.sentry.dsn)
}
const sessionRedisClient = redis.createClient(Settings.redis.websessions)
@@ -162,10 +162,6 @@ const settings = {
// the deployment colour for this app.
deploymentFile: process.env.DEPLOYMENT_FILE,
sentry: {
dsn: process.env.SENTRY_DSN,
},
errors: {
catchUncaughtErrors: true,
shutdownOnUncaughtError: true,