Adding Sentry.io

This commit is contained in:
Jeff Avallone committed 2018-02-11 10:41:03 -05:00
1 parent 6bf094a4c1
commit b009d078b6
7 files changed
+29 -3

No files matched your search

+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'));