set sentry environment in www

This commit is contained in:
Ben Wheeler 2019-10-09 22:29:12 -04:00
parent aafa58f5e2
commit 46ef423c5d

View file

@ -5,6 +5,7 @@ const initSentry = () => {
Sentry.init({
dsn: `${process.env.SENTRY_DSN}`,
environment: 'www',
// Do not collect global onerror, only collect specifically from React error boundaries.
// TryCatch plugin also includes errors from setTimeouts (i.e. the VM)
integrations: integrations => integrations.filter(i =>