Debugging check-manifest bollocks again; Adding Sentry error catching

This commit is contained in:
James Barnsley
2020-05-18 20:56:42 +12:00
parent dc1018b2c7
commit bb78b29b6d
7 changed files with 7598 additions and 15 deletions

View File

@ -3,6 +3,7 @@ import { bindActionCreators } from 'redux';
import { Route, Switch } from 'react-router-dom';
import { connect } from 'react-redux';
import ReactGA from 'react-ga';
import * as Sentry from '@sentry/browser';
import Sidebar from './components/Sidebar';
import PlaybackControls from './components/PlaybackControls';
@ -121,6 +122,9 @@ export class App extends React.Component {
if (allow_reporting) {
ReactGA.initialize('UA-64701652-3');
Sentry.init({
dsn: 'https://ca99fb6662fe40ae8ec4c18a466e4b4b@o99789.ingest.sentry.io/219026',
});
}
// Fire up our services