+ This error has been logged. You may also fill out a report.
+ ;
+ }
+}
+
+RavenError.propTypes = {
+ error: PropTypes.object.isRequired,
+ details: PropTypes.object.isRequired,
+ heading: PropTypes.string.isRequired
+};
+
+export default RavenError;
diff --git a/src/pages/index/index.js b/src/pages/index/index.js
index 609998d..5593cb9 100644
--- a/src/pages/index/index.js
+++ b/src/pages/index/index.js
@@ -2,16 +2,27 @@ import React from 'react';
import ReactDOM from 'react-dom';
import App from '../../components/App';
+import RavenBoundary from '../../components/RavenBoundary';
import '../../style.css';
import { setupServiceWorker } from '../../service-worker';
import { setupGA } from '../../analytics';
-import { setupRaven } from '../../sentry';
+import { Raven, setupRaven } from '../../sentry';
setupRaven();
-setupGA();
-if (process.env.NODE_ENV === 'production') {
- setupServiceWorker();
-}
-ReactDOM.render(