Reverted "Enabled includeLocalVariables option in Sentry"

refs https://app.incident.io/ghost/incidents/73
refs https://blog.sentry.io/local-variables-for-nodejs-in-sentry/

- this reverts commit cc76fda3e8
- it turns out that enabling this causes the entire program to pause
  whilst it collects local variables
- this was only added to aid with debugging, so it's not critical to
  have and can be disabled
This commit is contained in:
Daniel Lockyer 2024-05-23 11:50:26 +02:00 committed by Daniel Lockyer
parent d9390d2262
commit 4a02938774

View File

@ -115,7 +115,6 @@ if (sentryConfig && !sentryConfig.disabled) {
release: 'ghost@' + version,
environment: environment,
maxValueLength: 1000,
includeLocalVariables: true,
integrations: [
Sentry.extraErrorDataIntegration()
],