Issue #139 - Use sentry.io to track frontend runtime issues

This commit is contained in:
Armen Zambrano G 2018-03-08 11:41:28 -05:00 коммит произвёл Armen Zambrano
Родитель e0a68277ec
Коммит 619f47da78
3 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -24,16 +24,17 @@
"dependencies": {
"chroma-js": "^1.3.4",
"form-serialize": "^0.7.2",
"localforage": ">=1.0",
"lodash": "^4.17.4",
"parse-diff": "^0.4.2",
"prop-types": "^15.6.0",
"query-string": "^5.0.1",
"raven-js": "^3.23.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-hot-loader": "^3.1.3",
"react-interval": "^2.0.2",
"react-router-dom": "^4.1.2",
"localforage": ">=1.0"
"react-router-dom": "^4.1.2"
},
"devDependencies": {
"@neutrinojs/airbnb": "^8.1.1",

Просмотреть файл

@ -1,8 +1,11 @@
import Raven from 'raven-js';
import { render } from 'react-dom';
import { AppContainer } from 'react-hot-loader';
import { HashRouter } from 'react-router-dom';
import App from './components/app';
Raven.config('https://60b05bc4ef794a6c9e30e86e6a316083@sentry.io/300397').install();
const root = document.getElementById('root');
const load = () => render((
<AppContainer>

Просмотреть файл

@ -7370,6 +7370,10 @@ range-parser@^1.0.3, range-parser@~1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
raven-js@^3.23.1:
version "3.23.1"
resolved "https://registry.yarnpkg.com/raven-js/-/raven-js-3.23.1.tgz#34a5d7b5b3dd626a3d59e7a264e1d19a4c799cdb"
raw-body@2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89"