We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d484f42 commit 7719850Copy full SHA for 7719850
web-app/src/services/sentry/init.tsx
@@ -1,7 +1,12 @@
1
import * as sentry from '@sentry/browser'
2
import { NODE_ENV } from '../../environment'
3
4
-sentry.init({
5
- dsn: 'https://701cee76c32a4408b2fcb6af3e139d46@sentry.io/1889371',
6
- environment: NODE_ENV,
7
-})
+try {
+ sentry.init({
+ dsn: 'https://701cee76c32a4408b2fcb6af3e139d46@sentry.io/1889371',
+ environment: NODE_ENV,
8
+ })
9
+} catch (error) {
10
+ console.log('Error in Sentry init')
11
+ console.log(error)
12
+}
0 commit comments