Adding Sentry.io

This commit is contained in:
Jeff Avallone
2018-02-11 10:41:03 -05:00
parent 6bf094a4c1
commit b009d078b6
7 changed files with 29 additions and 3 deletions
+2
View File
@@ -1,4 +1,6 @@
import '../../style.css';
import { setupGA } from '../../analytics';
import { setupRaven } from '../../sentry';
setupRaven();
setupGA();
+3 -1
View File
@@ -6,10 +6,12 @@ import App from '../../components/App';
import '../../style.css';
import { setupServiceWorker } from '../../service-worker';
import { setupGA } from '../../analytics';
import { setupRaven } from '../../sentry';
setupRaven();
setupGA();
if (process.env.NODE_ENV === 'production') {
setupServiceWorker();
}
setupGA();
ReactDOM.render(<App/>, document.getElementById('root'));