mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
set sentry environment in www
This commit is contained in:
parent
aafa58f5e2
commit
46ef423c5d
1 changed files with 1 additions and 0 deletions
|
@ -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 =>
|
||||
|
|
Loading…
Reference in a new issue