Removed Sentry Express integration (#19443)

no refs

Removed Sentry Express integration as it is not compatible with Ghost's
use of Express
This commit is contained in:
Michael Barrett 2024-01-04 14:31:57 +00:00
parent 06a413c807
commit b639993a1b
No known key found for this signature in database

View File

@ -87,7 +87,6 @@ if (sentryConfig && !sentryConfig.disabled) {
// Enable tracing if sentry.tracing.enabled is true
if (sentryConfig.tracing?.enabled === true) {
sentryInitConfig.integrations.push(new Sentry.Integrations.Http({tracing: true}));
sentryInitConfig.integrations.push(new Sentry.Integrations.Express());
sentryInitConfig.tracesSampleRate = parseFloat(sentryConfig.tracing.sampleRate) || 0.0;
// Enable profiling, if configured, only if tracing is also configured
if (ProfilingIntegration && sentryConfig.profiling?.enabled === true) {