mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05: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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue