Skip to content

Commit

Permalink
Introduces Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Souza committed Jul 15, 2020
1 parent f3bfccd commit fc70982
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 2 deletions.
82 changes: 80 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
"bugs": "https://github.com/fernandosouza/react-tic-tac-toe/issues",
"dependencies": {
"@sentry/react": "^5.19.2",
"@testing-library/react": "10.0.4",
"@types/enzyme": "3.10.5",
"@types/enzyme-adapter-react-16": "1.0.6",
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import React from 'react';
import ReactDOM from 'react-dom';
import * as Sentry from '@sentry/react';
import Routes from './routes/Routes';

Sentry.init({dsn: "https://87727ed0238f4c228d9d492b99e40796@o420884.ingest.sentry.io/5339851"});

ReactDOM.render(
<Routes />,
document.getElementById('root')
Expand Down

0 comments on commit fc70982

Please sign in to comment.