Skip to content

Commit

Permalink
feat(web): enable sentry (pathwar#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jun 11, 2020
1 parent 86b841a commit 870866b
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
57 changes: 57 additions & 0 deletions web/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 web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@emotion/core": "^10.0.28",
"@emotion/styled": "^10.0.27",
"@loadable/component": "^5.10.2",
"@sentry/browser": "^5.17.0",
"axios": "^0.19.0",
"emotion-theming": "^10.0.27",
"env-cmd": "^10.0.1",
Expand Down
2 changes: 2 additions & 0 deletions web/src/pages/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import ChallengeDetailsPage from "./ChallengeDetailsPage";
import SiteWrapper from "../components/SiteWrapper";
import TeamDetailsPage from "./TeamDetailsPage";
import SettingsPage from "./SettingsPage";
import * as Sentry from '@sentry/browser';
const ProtectedRoute = loadable(() => import("../components/ProtectedRoute"));

import "tabler-react/dist/Tabler.css";

Sentry.init({dsn: "https://[email protected]/5272916"});
toast.configure();

const App = () => (
Expand Down

0 comments on commit 870866b

Please sign in to comment.