Set Sentry version

This commit is contained in:
Matt Swensen 2020-08-03 07:41:02 -06:00
parent 66757b3622
commit 36511aa806
No known key found for this signature in database
GPG Key ID: 3F9E482BFC526F35
3 changed files with 7 additions and 2 deletions

View File

@ -1,2 +1,3 @@
REACT_APP_STRIPE_PUBLISHABLE_KEY=key
REACT_APP_VERSION=version
STRIPE_SECRET_KEY=key

View File

@ -1,6 +1,6 @@
{
"name": "web",
"version": "0.1.0",
"version": "1.0.0",
"private": true,
"dependencies": {
"@sentry/browser": "^5.15.5",

View File

@ -7,7 +7,11 @@ import App from './App';
import * as serviceWorker from './serviceWorker';
import * as Sentry from '@sentry/browser'
Sentry.init({dsn: "https://9f43906c1ad243f4a3ee46f26e1ad0b2@o390880.ingest.sentry.io/5236092"});
Sentry.init({
dsn: "https://9f43906c1ad243f4a3ee46f26e1ad0b2@o390880.ingest.sentry.io/5236092",
environment: process.env.NODE_ENV,
release: process.env.REACT_APP_VERSION,
});
const history = createBrowserHistory();