We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Sentry
1 parent 9e49825 commit 319e4b6Copy full SHA for 319e4b6
gatsby-config.js
@@ -89,7 +89,7 @@ const plugins = [
89
dsn:
90
'https://[email protected]/5289132',
91
// Optional settings, see https://docs.sentry.io/clients/node/config/#optional-settings
92
- environment: process.env.NODE_ENV,
+ environment: isProduction ? 'production' : 'staging',
93
enabled: isProduction || isStaging,
94
ignoreErrors: [
95
// that's a real bug we have, but I'm ignoring it for now.
0 commit comments