mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Enabled Sentry's ExtraErrorData integration
refs https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/extraerrordata/ ref https://linear.app/tryghost/issue/SLO-92/enable-extra-sentry-integrations - this enables the ExtraErrorData integration, which should help us capture more of the properties of the errors we're producing, which _may_ help with debugging
This commit is contained in:
parent
6c7b230efe
commit
5b28dc9246
@ -91,12 +91,15 @@ if (sentryConfig && !sentryConfig.disabled) {
|
||||
environment = config.get('env');
|
||||
}
|
||||
|
||||
/** @type {import('@sentry/node').NodeOptions} */
|
||||
const sentryInitConfig = {
|
||||
dsn: sentryConfig.dsn,
|
||||
release: 'ghost@' + version,
|
||||
environment: environment,
|
||||
maxValueLength: 1000,
|
||||
integrations: [],
|
||||
integrations: [
|
||||
Sentry.extraErrorDataIntegration()
|
||||
],
|
||||
beforeSend,
|
||||
beforeSendTransaction
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user