Skip to content

Commit

Permalink
Set correct environment on Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcano committed Nov 9, 2020
1 parent 9e49825 commit 319e4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const plugins = [
dsn:
'https://[email protected]/5289132',
// Optional settings, see https://docs.sentry.io/clients/node/config/#optional-settings
environment: process.env.NODE_ENV,
environment: isProduction ? 'production' : 'staging',
enabled: isProduction || isStaging,
ignoreErrors: [
// that's a real bug we have, but I'm ignoring it for now.
Expand Down

0 comments on commit 319e4b6

Please sign in to comment.