mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-09-11 12:55:37 +03:00
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:
parent
06a413c807
commit
b639993a1b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user