mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #2642 from LLK/develop
[MASTER] Deploy audio engine and sentry fix
This commit is contained in:
commit
e35ff9f60a
2 changed files with 5 additions and 2 deletions
|
@ -100,7 +100,7 @@
|
|||
"redux": "3.5.2",
|
||||
"redux-thunk": "2.0.1",
|
||||
"sass-loader": "6.0.6",
|
||||
"scratch-gui": "0.1.0-prerelease.20190108140207",
|
||||
"scratch-gui": "0.1.0-prerelease.20190108222744",
|
||||
"scratch-l10n": "latest",
|
||||
"scratchr2_translations": "git://github.com/LLK/scratchr2_translations.git#master",
|
||||
"slick-carousel": "1.6.0",
|
||||
|
|
|
@ -38,7 +38,10 @@ const localStorageAvailable = 'localStorage' in window && window.localStorage !=
|
|||
const Sentry = require('@sentry/browser');
|
||||
if (`${process.env.SENTRY_DSN}` !== '') {
|
||||
Sentry.init({
|
||||
dsn: `${process.env.SENTRY_DSN}`
|
||||
dsn: `${process.env.SENTRY_DSN}`,
|
||||
integrations: integrations =>
|
||||
// Do not collect global onerror, only collect specifically from React error boundaries.
|
||||
integrations.filter(i => i.name !== 'GlobalHandlers')
|
||||
});
|
||||
window.Sentry = Sentry; // Allow GUI access to Sentry via window
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue