0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Enabled includeLocalVariables option in Sentry

ref https://linear.app/tryghost/issue/SLO-92/enable-extra-sentry-integrations
refs https://docs.sentry.io/platforms/javascript/guides/node/configuration/options/#include-local-variables

- this will capture the local stack variables when producing a stack
  trace, which would be super useful when debugging
This commit is contained in:
Daniel Lockyer 2024-05-02 13:38:02 +02:00 committed by Daniel Lockyer
parent 5b28dc9246
commit cc76fda3e8

View file

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